|
|
TPGETCTXT(3cbl)
Name
TPGETCTXT() - retrieves a context identifier for the current application association
Synopsis
01 TPCONTEXTDEF-REC.
COPY TPCONTEXTDEF.
01 TPSTATUS-REC.
COPY TPSTATUS.
CALL "TPGETCTXT" USING TPCONTEXTDEF-REC TPSTATUS-REC.
Description
TPGETCTXT() retrieves an identifier that represents the current application context and places that identifier in CONTEXT in TPCONTEXTDEF-REC. Typically, a COBOL application
TPGETCTXT() may be called in single-context applications as well as in multicontext applications.
Return Values
Upon successful completion, TPGETCTXT sets TP-STATUS to [TPOK] and places the program's context identifier in CONTEXT in TPCONTEXTDEF-REC. CONTEXT is set to the current context ID, which may be represented by either:
Upon failure, TPGETCTXT sets TP-STATUS to one of the following values.
See Also
Introduction to the COBOL Application-Transaction Monitor Interface, TPSETCTXT(3cbl)
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|