gtpg2m4uGeneral Macros

TPPCC TEST

Use the TPPCC general macro with the TEST verb specified to test the conversation for a specified condition. The results of the test are indicated in the return code.

Format




label
A symbolic name can be assigned to the macro statement.

TEST
Directs the TPPCC macro to perform the TEST verb function.

RESID
Specifies the symbolic name of a field or a register pointing to a field. This is a 4-byte field in which the resource ID is supplied. This resource ID must be the one assigned on the initial ALLOCATE for this conversation or one that was assigned by an incoming ATTACH.

TEST
Specifies the type of test to be performed. The valid types are:

POSTED
Specifies to test whether the conversation has been posted.

RTSRCVD
Specifies to test whether the REQUEST_TO_SEND notification has been received from the remote transaction program.

RCODE
Specifies the symbolic name of a field or a register pointing to a field. This is a 6-byte field in which the return code is placed. The return code consists of a 2-byte primary return code followed by a 4-byte secondary return code. The actual values returned are listed in Return Conditions.

Entry Requirements

Return Conditions

Programming Considerations

Examples

SYMB100   TPPCC TEST,                              X
                RESID=(R6),                        X
                TEST=RTSRCVD,                      X
                RCODE=EBW064