SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-17
DEALLOCATE Verb
DEALLOCATE Verb
The local TP uses the DEALLOCATE verb to end a conversation with a remote TP.
There are five types of deallocation requests:
DEALLOCATE (FLUSH)
DEALLOCATE (CONFIRM)
DEALLOCATE (SYNC-LEVEL)
DEALLOCATE (LOCAL)
DEALLOCATE (ABEND-PROG)
DEALLOCATE (FLUSH) completes when the SNAX/APC process’s internal buffer has
been flushed and the local resources have been deallocated. If the local TP issues
DEALLOCATE (CONFIRM) or DEALLOCATE (SYNC-LEVEL) when the
synchronization level is CONFIRM, DEALLOCATE completes when the remote TP
issues a confirmed reply. DEALLOCATE (LOCAL) and DEALLOCATE (ABEND-
PROG) complete immediately.
Request Details
REQ-UOW-CODE
This field must contain the value 1004, which identifies the DEALLOCATE verb.
Request Format
?SECTION DEALLOCATE-REQ,TANDEM
01 DEALLOCATE-REQ.
02 DE-HEADER.
03 REQ-UOW-ID PIC X(2).
03 REQ-UOW-CODE PIC 9(4) COMP.
02 DE-PARAMETERS.
03 DE-TYPE PIC X(2).
88 APC-DEALLOCATE-SYNC-LEVEL VALUE IS "SL".
88 APC-DEALLOCATE-CONFIRM VALUE IS "CO".
88 APC-DEALLOCATE-FLUSH VALUE IS "FL".
88 APC-DEALLOCATE-ABEND-PROG VALUE IS "AP".
88 APC-DEALLOCATE-LOCAL VALUE IS "LO".
Reply Format
?SECTION DEALLOCATE-REP,TANDEM
01 DEALLOCATE-REP.
02 DER-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.