SNAX/APC Application Programming Manual
Verb Definitions
SNAX/APC Application Programming Manual—138786
3-80
Type-Independent Verbs
If the MC-SEND-ERROR verb is issued in the Confirm state, the following return codes
can be returned in REP-RETURN-CODE of SER-HEADER:
RC-OK
RC-RESOURCE-FAIL-NO-RETRY
RC-RESOURCE-FAIL-RETRY
Consideration
If an MC-SEND-ERROR verb is processing when SNAX/APC receives a CANCEL
system message from the application program, SNAX/APC deactivates the session and
replies to the cancelled IPC. SNAX/APC frees the internal resources after finishing the
processing of the verb.
Type-Independent Verbs
The type-independent verbs are intended for use with both mapped and basic
conversations. These verbs provide functions that span both conversation types.
SNAX/APC supports only one type-independent verb: GET-TYPE.
GET-TYPE Verb
This verb returns the type of resource to which the specific resource ID is assigned.
This would be used by a program that could use either type of conversation: basic or
mapped.
The format for GET-TYPE request is as follows:
Request Format
01 GET-TYPE-REQ.
02 GT-HEADER.
03 REQ-UOW-ID PIC X(2).
03 REQ-UOW-CODE PIC 9(4) COMP.
Reply Format
01 GET-TYPE-REP.
02 GTR-HEADER.
03 REP-UOW-ID PIC X(2).
03 REP-VERB-CODE PIC 9(4) COMP.
03 REP-RETURN-CODE PIC S9(4) COMP.
03 REP-RETURN-CODE-DETAIL PIC S9(4) COMP.
02 GTR-PARAMETERS.
03 RESERVED-1 PIC X(1).
03 GTR-TYPE PIC X(1).
88 GTR-BASIC VALUE IS "B".
88 GTR-MAPPED VALUE IS "M".