SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-62
MC-PREPARE-TO-RECEIVE Verb
state. Otherwise, the return code indicates the new state of the conversation.
SNAX/APC rejects a CO request if the synchronization level of the conversation
is NONE.
FL
specifies that SNAX/APC is to transmit the contents of the local LU’s send
buffer to the partner TP and then place the conversation in the Receive state.
The MC-PREPARE-TO-RECEIVE verb completes as soon as the local LUs
send buffer is transmitted; no confirmation is required.
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 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 a MC-PREPARE-TO-RECEIVE request with PR-
TYPE set to FL (FLUSH).
If the 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 the partner TP responds to the request for confirmation. If
the partner TP responds to the request for confirmation affirmatively, the
conversation is placed in the Receive state. Otherwise, the return code indicates
the new state of the conversation. This is functionally equivalent to a MC-
PREPARE-TO-RECEIVE request with PR-TYPE set to CO (Confirm).
If the synchronization level is SYNCPT, the request is rejected with error
RCD-IMPROPER-SYNCLEVEL.
RESERVED-1
This field must contain the value 0 or a space (ASCII 32).
MC-PR-LOCKS
This field must be blank (ASCII 32) if MC-PR-TYPE is FL or MC-PR-TYPE is SL
and the synchronization level of the conversation is N (None).
PR-LOCKS must contain an S if MC-PR-TYPE is CO or MC-PR-TYPE is SL and
the synchronization level of the conversation is C (Confirm).
SNAX/APC does not support the long lock (MC-PR-LOCK set to L) specified by
the LU 6.2 definition.