SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-65
MC-RECEIVE-AND-WAIT Verb
Request Details
The MC-RECEIVE-AND-WAIT verb request has two parameters in addition to the
standard SNAX/APC request header.
RESERVED-2
reserved for future use, and must contain either two zeros or two spaces.
MC-RW-MAX-DATA-LENGTH
indicates the maximum amount of data the TP is to receive.
Reply Details
The MC-RECEIVE-AND-WAIT verb reply has four parameters in addition to the
standard SNAX/APC reply header.
RESERVED-1
is reserved, and should be ignored.
MC-RWR-REQUEST-TO-SEND-IND
indicates whether the remote TP issued an MC-REQUEST-TO-SEND verb. If the
field contains the letter Y, MC-REQUEST-TO-SEND notification was received from
the remote TP, which requests the local TP to enter Receive state. The local TP
should use MC-RECEIVE-AND-WAIT to enter Receive state as soon as possible.
If the field contains the letter N, the remote TP did not issue an MC-REQUEST-TO-
SEND verb.
MC-RWR-WHAT-RECEIVED
indicates what was received from the remote TP, and can be any of the six values
indicated above in the DDL definition.
MC-WR-DATA-COMPLETE (1)
The local TP received a complete logical record or the last remaining portion of
a logical record.
MC-WR-DATA-INCOMPLETE (2)
The local TP received an incomplete logical record (because the logical record
was longer than RW-MAX-DATA-LENGTH). The local TP should issue
another MC-RECEIVE-AND-WAIT verb to receive the remainder of the data.
MC-WR-SEND (3)
The remote TP entered Receive state, thereby placing the local TP in Send state.
No data is received in this reply. The local TP can now issue MC-SEND-DATA.