SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-29
RECEIVE-AND-WAIT Verb
WR-CONFIRM-DEALLOCATE (6)
The remote TP issued a DEALLOCATE verb with type CONFIRM or with type
SYNC-LEVEL; the synchronization level is CONFIRM. The local TP can
respond with either CONFIRMED or SEND-ERROR. If the local TP sends the
CONFIRMED verb request, it enters Deallocate state. From Deallocate state,
the local TP must issue a DEALLOCATE verb request specifying LOCAL.
If the local TP sends the SEND-ERROR verb, it enters Send state.
WR-PS-HEADER-PENDING (8)
A PS Header is queued for the application because the RECEIVE-AND-WAIT
was issued with RW-FILL “B”. Issue another RECEIVE-AND-WAIT with
RW-FILL “L” to get the PS Header.
WR-PS-HEADER-COMPLETE (9)
The entire PS Header has been sent.
WR-PS-HEADER-INCOMPLETE (10)
The RECEIVE-AND-WAIT data length was not large enough to contain the
entire PS Header. Issue another RECEIVE-AND-WAIT to get the remainder of
the PS Header.
RWR-DATA-LENGTH
This field indicates the actual number of bytes of data received by the local TP. If
the count of total data bytes is an odd number and another conversation UOW
follows the data, then a null pad byte immediately follows the data, to align the next
UOW on a word boundary.
RWR-DATA-AREA
This field contains the data received. If the RECEIVE-AND-WAIT request
specified FILL-BUFFER, the data buffer can include several logical records. If the
RECEIVE-AND-WAIT request specified FILL-LL and the DATA-LENGTH field is
less than the logical record length, the buffer can include all or part of a logical
record. Logical records are preceded by a two-byte logical record length field (LL).
The first logical record received may also contain the two-byte application data
General Data Stream variable X’12FF’. The two-byte logical record length field
includes the two bytes for length and, if applicable, the two bytes for the General
Data Stream variable.