gtpg2m4vGeneral Macros

TPPCC WAIT

Use the TPPCC general macro with the WAIT verb specified to wait for posting to occur on any mapped or basic conversation from a list of conversations. Posting of a conversation occurs when posting is active for the conversation and information that the conversation can receive, such as data, conversation status, or a request for confirmation is available.

Format




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

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

RESIDL
Specifies the symbolic name of a field or a register pointing to a field. This is a variable length field that contains the resource IDs of the conversations for which posting is expected. The resource IDs must be the resource IDs assigned on the initial ALLOCATE for the conversations or assigned by an incoming ATTACH. The variable length field is in the format:

Note:
This list can contain as many as twenty entries, which allows space for nineteen resource IDs and the delimiter.

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.

RESPSTD
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 of a posted conversation is returned.

Entry Requirements

Return Conditions

Programming Considerations

Examples

SYMB100   TPPCC WAIT,                              X
                RESIDL=EBW004,                     X
                RCODE=EBW064,                      X
                RESPSTD=(R7)