Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)

Data Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual426750-003
5-104
TERMINATION-SUBSTATUS Special Register
MESSAGE, REPLY TO UNSOLICITED MESSAGE, SEND, SEND MESSAGE, or
TRANSFORM.
The register has the following implicit declaration:
TERMINATION-SUBSTATUS Special Register
The TERMINATION-SUBSTATUS special register communicates an error number
further describing the error communicated in TERMINATION-STATUS when the ON
ERROR branch of one of the following statements is taken: CALL, RECEIVE
UNSOLICITED MESSAGE, REPLY TO UNSOLICITED MESSAGE, SEND, SEND
MESSAGE, or TRANSFORM. A copy of this register is local to each program unit.
The register has the following implicit declaration:
TRANSACTION-ID Special Register
The TRANSACTION-ID special register contains the value of the transaction identifier
that the HP Transaction Management Facility (
TMF
) assigns when the BEGIN-
TRANSACTION statement runs. TMF assigns a unique identifier to this register for
each new or restarted transaction. The register is set to SPACES after either the END-
TRANSACTION or the ABORT-TRANSACTION statement runs.
Generally, the contents of this special register should not be displayed on a terminal
screen because the associated data item contains binary data. You use this register to
locate uniquely identified transactions.
The register has the following implicit declaration:
01 TERMINATION-STATUS PIC 9999 COMP.
01 TERMINATION-SUBSTATUS PIC 9(5) COMP.
01 TRANSACTION-ID PIC X(8).