SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-39
SEND-DATA Verb
SEND-DATA Verb
The SEND-DATA verb sends data to the remote TP. The local TP moves data into the
SNAX/APC send buffer by using SEND-DATA. Using this verb does not necessarily
cause the data to be transmitted immediately. Subsequent SEND-DATA verbs cause the
new data to be concatenated with the data already in the send buffer. The data is sent to
the remote TP when the send buffer overflows or when SNAX/APC receives a verb from
the local TP that explicitly causes the data to be transmitted (flushes the send buffer).
These verbs are:
CONFIRM
DEALLOCATE
FLUSH
PREPARE-TO-RECEIVE
RECEIVE-AND-WAIT
When sync point support is employed, the SEND-DATA verb is used to send PS-
HEADERs.
SEND-DATA completes when SNAX/APC has placed the data in its internal send
buffer.
Note. The fields SD-DATA-LENGTH and SD-DATA-AREA are not defined by the
SNAX/APC DDL because they cannot be created by DDL. The SNAX/APC DDL
provides example definitions for these fields in COBOL and TAL. You must create the
definitions for these fields.