SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-40
SEND-DATA Verb
Request Details
REQ-UOW-CODE
This field must contain the value 1008, which identifies the SEND-DATA verb.
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 TP has issued a REQUEST-TO-SEND
verb, a 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.
SD-DATA-AREA
This field contains the data being sent. The data must be in GDS format or it will
cause errors in SNAX/APC or in the remote LU or TP.
Request Format
?SECTION SEND-DATA-REQ,TANDEM
01 SEND-DATA-REQ.
02 SD-HEADER.
03 REQ-UOW-ID PIC X(2).
03 REQ-UOW-CODE PIC 9(4) COMP.
01 SD-DATA-LENGTH PIC 9(4) COMP.
01 SD-DATA-AREA.
02 SD-DATA-TEXT PIC X OCCURS 0 TO N TIMES
DEPENDING ON SD-DATA-LENGTH.
Reply Format
?SECTION SEND-DATA-REP,TANDEM
01 SEND-DATA-REP.
02 SDR-HEADER.
03 REP-UOW-ID PIC X(2).
03 REP-VERB-CODE PIC 9(4) COMP.
03 REP-RETURN-CODE PIC S9(4) COMP.
03 REP-RETURN-CODE-DETAIL PIC S9(4) COMP.
02 SDR-PARAMETERS.
03 RESERVED-1 PIC X(1).
03 SDR-REQUEST-TO-SEND-IND PIC X(1).
88 SDR-RECEIVED VALUE IS "Y".
88 SDR-NOT-RECEIVED VALUE IS "N".