SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-58
MC-FLUSH Verb
MC-FLUSH Verb
The local TP uses the MC-FLUSH verb to force the transmission of the local LU’s send
buffer. The local LU transmits the contents of the send buffer to the partner LU. The
verb completes when the contents of the buffer have been transmitted. If the send buffer
is empty, nothing is transmitted and the verb completes immediately. Because
SNAX/APC does not support the sync-point synchronization level, the MC-FLUSH verb
can be issued only when the local TP is in the Send state.
The format for the MC-FLUSH request is:
Request Details
REQ-UOW-CODE
This field must contain the value 1112, which identifies the MC-FLUSH verb.
Consideration
If an MC-FLUSH 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.
Request Format
01 MC-FLUSH-REQ.
02 MC-FL-HEADER.
03 REQ-UOW-ID PIC X(2).
03 REQ-UOW-CODE PIC 9(4) COMP.
Reply Format
01 MC-FLUSH-REP.
02 MC-FLR-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.