SNAX/APC Application Programming Manual
Verb Definitions
SNAX/APC Application Programming Manual—138786
3-76
MC-SEND-DATA Verb
MC-SD-PS-HEADER-IND
must contain either “Y” or “N.” Any other value causes the IPC to be rejected with
a return code of INVALID-UOW-HEADER and a detail return code of INVALID-
INDICATOR.
MC-SD-MAPNAME-IND
must contain “N.” Any other value causes the IPC to be rejected with a return code
of INVALID-UOW-HEADER and a detail return code of INVALID-INDICATOR.
MC-SD-MAP-NAME
must be empty. Any other value causes the IPC to be rejected with a return code of
INVALID-UOW-HEADER, and a detail return code of INVALID-INDICATOR.
MC-SD-DATA-LENGTH
This field indicates the size, in bytes, of the data being sent. A zero (0) value can be
used in this field to poll the partner. If the TP is the sending side and has no data to
send but wants to check to see if the partner has data to send, an MC-SEND-DATA
verb with a zero (0) in this field can be sent.
A value of one (1) is used with sync point support to indicate the presence of a PS
Header.
MC-SD-DATA-AREA
contains the data record to be sent.
Reply Details
The MC-SEND-DATA verb reply has two parameters in addition to the standard
SNAX/APC reply header. These are as follows:
RESERVED
is reserved, and is not used by SNAX/APC. It may be ignored by the TP.
MC-SDR-REQUEST-TO-SEND-IND
indicates whether or not the remote TP issued an MC-REQUEST-TO-SEND verb.
The field must contain either a “Y,” meaning that the remote TP did issue an
MC-REQUEST-TO-SEND verb, or an “N,” indicating that the remote TP did not
issue an MC-REQUEST-TO-SEND verb.
Return Codes
The following return codes can be returned in REP-RETURN-CODE of MC-SDR-
HEADER:
RC-OK
RC-ALLOCATION-ERROR