SNAX/APC Application Programming Manual
Verb Definitions
SNAX/APC Application Programming Manual—138786
3-27
RECEIVE-AND-WAIT Verb
Request Details
REQ-UOW-CODE
This field must contain the value 1006, which identifies the RECEIVE-AND-WAIT
verb.
RESERVED-1
This field must contain the value 0 or a space (ASCII 32).
RW-FILL
This field indicates whether the data will be received one logical record at a time or
when the receive buffer is full. The RW-FILL indicator must be a capital letter.
APC-FILL-LL (value L)
This value indicates that the local TP expects logical record data. The logical
record data can contain one complete logical record or a portion of a logical
record, the size of which equals the length specified in the RW-MAX-DATA-
LENGTH field.
APC-FILL-BUFFER (value B)
This value indicates that the local TP receives data independent of its logical
record format. The amount of data received is less than or equal to the value
specified by the RW-MAX-DATA-LENGTH field.
RW-MAX-DATA-LENGTH
This field indicates the maximum amount of data, in bytes, that the TP is to receive.
The value you specify must be such that the size of the reply from SNAX/APC
(including the IPC header, the verb reply header, and any other UOWs) is less than
or equal to the size specified in MAXAPPLIOSIZE when SNAX/APC was started.
Reply Details
RESERVED-1
This field is not used by SNAX/APC and should be ignored by the TP.
01 RWR-DATA-LENGTH PIC 9(4) COMP VALUE 0.
01 RWR-DATA-AREA.
02 RWR-DATA-TEXT PIC X OCCURS 0 TO N TIMES
DEPENDING ON RWR-DATA-LENGTH.










