SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-20
FLUSH Verb
FLUSH Verb
The local TP uses the 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 FLUSH verb can
be issued only when the local TP is in the Send state.
Request Details
REQ-UOW-CODE
This field must contain the value 1012, which identifies the FLUSH verb.
Consideration
If a 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
?SECTION FLUSH-REQ,TANDEM
01 FLUSH-REQ.
02 FL-HEADER.
03 REQ-UOW-ID PIC X(2).
03 REQ-UOW-CODE PIC 9(4) COMP.
Reply Format
?SECTION FLUSH-REP,TANDEM
01 FLUSH-REP.
02 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.