SNAX/APC Application Programming Manual

Application Prototype Simulator
SNAX/APC Application Programming Manual138786
4-53
MC-PREPARE-TO-RECEIVE (SF4)
MC-PREPARE-TO-RECEIVE (SF4)
The MC-PREPARE-TO-RECEIVE verb changes the conversation from the Send state to
the Receive state in preparation to receive data. The local TP (APS) must be in the Send
state to issue this verb request.
Request Fields
Type (SL,FL,CO)
specifies the type of the MC-PREPARE-TO-RECEIVE request that you want to
perform. The different types are:
SL
specifies that the type of the MC-PREPARE-TO-RECEIVE request to be
performed is to be based on the synchronization level specified for this
conversation.
If the synchronization level is SYNCPT, the DEALLOCATE will be rejected. If
synchronization level is NONE (N), SNAX/APC transmits the contents of the
local LU’s send buffer to the partner TP and then places the conversation in the
Receive state. The MC-PREPARE-TO-RECEIVE verb completes as soon as the
local LU’s send buffer is transmitted; no confirmation is required. This is
functionally equivalent to an MC-PREPARE-TO-RECEIVE request with Type
set to FL (flush).
If synchronization level is CONFIRM (C), SNAX/APC transmits the contents of
the local LU’s send buffer to the partner TP and then requests confirmation from
the partner TP. The MC-PREPARE-TO-RECEIVE verb does not complete until
SNAX/APC Application Prototype Simulator (APS) System (T9096D30 22JUN95 F15)
Request: MC_Prepare_To_Receive Resource ID: 0 7 0 0707D
Type (SL,FL,CO): FL
Locks (S):
Reply: MC_Prepare_To_Receive
IPC Return Code: 0 IPC Ok
IPC Return Code Detail: 0 IPC Ok
UOWs In: 0001 UOWs Out: 0001
Header Return Code: 0 RC Ok
Request Completed
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15
F16
TPR MAl MDal TPE MR&W MRTS MSD MSE MCnf MCfd MGA MSnd Prnt Hex Rcov
Exit
ActS Dact MPrc MRcI MFls Gtyp GTP A(T) E(T)
Exit