SNAX/APC Application Programming Manual
Verb Definitions
SNAX/APC Application Programming Manual—138786
3-55
MC-DEALLOCATE Verb
MC-DEALLOCATE Verb
The local TP uses the MC-DEALLOCATE verb to end a conversation with a remote TP.
There are five types of deallocation requests:
•
MC-DEALLOCATE (FLUSH)
•
MC-DEALLOCATE (CONFIRM)
•
MC-DEALLOCATE (SYNC-LEVEL)
•
MC-DEALLOCATE (LOCAL)
•
MC-DEALLOCATE (ABEND)
MC-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 MC-DEALLOCATE (CONFIRM) or MC-DEALLOCATE (SYNC-LEVEL)
when the synchronization level is CONFIRM, MC-DEALLOCATE completes when the
remote TP issues a confirmed reply. MC-DEALLOCATE (LOCAL) and MC-
DEALLOCATE (ABEND) complete immediately.
The format for MC-DEALLOCATE request is:
Request Details
REQ-UOW-CODE
This field must contain the value 1104, which identifies the MC-DEALLOCATE
verb.
Request Format
01 MC-DEALLOCATE-REQ.
02 MC-DE-HEADER.
03 REQ-UOW-ID PIC X(2).
03 REQ-UOW-CODE PIC 9(4) COMP.
02 MC-DE-PARAMETERS.
03 MC-DE-TYPE PIC X(2).
88 MC-DE-SYNC-LEVEL VALUE IS "SL".
88 MC-DE-CONFIRM VALUE IS "CO".
88 MC-DE-FLUSH VALUE IS "FL".
88 MC-DE-ABEND-PROGRAM VALUE IS "AP".
88 MC-DE-LOCAL VALUE IS "LO".
Reply Format
01 MC-DEALLOCATE-REP.
02 MC-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.