gtpg2m4nGeneral Macros

TPPCC GET_TYPE

Use the TPPCC general macro with the GET_TYPE verb specified to return the type of conversation, BASIC or MAPPED, to which the specified resource ID is assigned.

Format




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

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

RESID
Specifies the symbolic name of a field or a register that points 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.

RCODE
Specifies the symbolic name of a field or a register that points 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.

TYPE
Specifies the symbolic name of a field or a register that points to a field. This is a 1-byte field in which a value is returned that indicates the type of resource allocated. The possible values are:

LU62_BASIC_CONVERSATION
Specifies a basic conversation.

LU62_MAPPED_CONVERSATION
Specifies a mapped conversation.

Entry Requirements

Return Conditions

Programming Considerations

Examples

SYMB100   TPPCC GET_TYPE,                          X
                RESID=EBW004,                      X
                RCODE=EBW064,                      X
                TYPE=(R4)