SNAX/APC Application Programming Manual
Verb Definitions
SNAX/APC Application Programming Manual—138786
3-41
SEND-DATA Verb
Reply Details
RESERVED-1
This field is not used by SNAX/APC and can be ignored by the TP.
SDR-REQ-TO-SEND-IND
This field indicates whether the remote TP issued a REQUEST-TO-SEND verb. If
the field contains the letter Y, REQUEST-TO-SEND notification was received from
the remote TP, which requests the local TP to enter Receive state. If the field
contains the letter N, the remote TP did not issue a REQUEST-TO-SEND verb.
The local TP should enter Receive state as soon as possible; however, the local TP
can honor the request at any time.
Return Codes
The following return codes can be returned in REP-RETURN-CODE of SDR-
HEADER:
RC-OK
RC-ALLOCATION-ERROR
RC-BACKOUT-RESYNC
RC-BACKOUT-NO-RESYNC
RC-DEALLOCATE-ABEND-PROG
RC-PARAMETER-ERROR
RC-PROGRAM-ERROR-PURGING
RC-RESOURCE-FAIL-NO-RETRY
RC-RESOURCE-FAIL-RETRY
Considerations
•
If a logical record requires two or more SEND-DATA verbs to send, the TP must
send the complete logical record before issuing any of the following verbs:
CONFIRM
DEALLOCATE (FL, CO, SL)
PREPARE-TO-RECEIVE
RECEIVE-AND-WAIT
•
If a SEND-DATA verb is processing when SNAX/APC receives a CANCEL system
message from the application program, SNAX/APC deactivates the session and
replies to the cancelled IPC. SNAX/APC frees the internal resources after finishing
the processing of the verb.