SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-74
MC-SEND-DATA Verb
MC-SEND-DATA Verb
The MC-SEND-DATA verb sends data to the remote TP. The local TP moves data into
the SNAX/APC send buffer by using MC-SEND-DATA. Using this verb does not
necessarily cause the data to be transmitted immediately. Subsequent MC-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 MC-SEND-DATA verb is used to send PS-
HEADERs.
MC-SEND-DATA completes when SNAX/APC has placed the data in its internal send
buffer.
Note. The fields MC-SD-DATA-LENGTH and MC-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.