SNAX/APC Application Programming Manual
Verb Definitions
SNAX/APC Application Programming Manual—138786
3-42
SEND-ERROR Verb
SEND-ERROR Verb
The local TP uses the SEND-ERROR verb when it detects an application data error.
SEND-ERROR can be issued in either Send or Receive state. If the local TP is in
Receive state, it uses SEND-ERROR to notify the remote TP that the received data
cannot be processed. If the local TP is in Send state, it can use SEND-ERROR to notify
the remote TP that recently sent data was not usable. SEND-ERROR does not terminate
the conversation.
If the local TP is in Send state, the SEND-ERROR verb causes SNAX/APC to flush its
internal buffer. The FMH-7 (function management header # 7) generated by the SEND-
ERROR verb is not transmitted until a later request flushes the buffer again. SEND-
ERROR completes immediately.
If the local TP is in Receive state, the SEND-ERROR verb completes immediately and
changes the local TP to Send state. SNAX/APC sends a negative response to the remote
TP. The negative response directs the remote LU to halt the data flow; the remote LU
responds with end-of-chain and change direction indicators. The FMH-7 generated by
the SEND-ERROR verb is not transmitted until a later request flushes the buffer again.
Request Details
REQ-UOW-CODE
This field must contain the value 1009, which identifies the SEND-ERROR verb.
Request Format
?SECTION SEND-ERROR-REQ,TANDEM
01 SEND-ERROR-REQ.
02 SE-HEADER.
03 REQ-UOW-ID PIC X(2).
03 REQ-UOW-CODE PIC 9(4) COMP.
02 SE-PARAMETERS.
03 SE-TYPE PIC S9(4) COMP.
Reply Format
?SECTION SEND-ERROR-REP,TANDEM
01 SEND-ERROR-REP.
02 SER-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 SER-PARAMETERS.
03 RESERVED-1 PIC X(1).
03 SER-REQUEST-TO-SEND-IND PIC X(1).
88 SER-RECEIVED VALUE IS "Y".
88 SER-NOT-RECEIVED VALUE IS "N".