INQUIRE TRANSACTION command
Retrieves information about the named transaction definition from the program control table (PCT). In Smalltalk, the parameters of the INQUIRE TRANSACTION command are contained in two classes: CICSInquiretransaction and CICSInquiretransactionResult.
See CICS Application Programming Reference for the syntax of the command a description of the parameters.
Defined instance methods
Parameters supplied to CICS in CICSInquiretransaction
| | | | |
TRANSACTION(name) | transaction: | Input | Fixed(4) | |
Parameters returned by CICS in CICSInquiretransactionResult
| | | | |
PROGRAM(data-area) | program | Output | Fixed(8) | |
REMOTESYSTEM(data-area) | remotesystem | Output | Fixed(4) | |
RESP | resp | Output | Fixed(2) | Inherited from CICSResult. |
RESP2 | resp2 | Output | Fixed(2) | Inherited from CICSResult. |
STATUS(cvda) | status | Output | Binary 32 | |
Example
Inquire after the transaction named TRAN and display the result of the inquiry.
| result |
result := CICS inquiretransaction transaction: 'TRAN'; exec.
result isCICSError
ifFalse: [Transcript cr; show: 'Program is: ', result program printString;
cr; show: 'Remote system is: ', result remotesystem printString;
cr; show: 'Status is: ', (CICSCvdaConstants keyAtValue:
(result status)) printString]
Last modified date: 07/09/2019