Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)
Errors for Message Section Statements
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual—426750-003
D-2
•
If the error is for a SEND MESSAGE statement or a TRANSFORM statement,
TERMINATION-SUBSTATUS contains the number of bytes received.
•
If the error is for a RECEIVE UNSOLICITED MESSAGE statement, the message is
rejected. An error 10 (COULD NOT DELIVER) is returned by the TCP to the
sender of the message.
If no ON ERROR clause is specified, the system suspends the program unit with a
fatal error. The TCP error is logged to the PATHMON log file.
TERMINATION-STATUS 3 Pathway Error 3163
Cause. The message applies to one of the following conditions.
•
If the error is for a SEND MESSAGE statement or a TRANSFORM statement, the
received message was longer than the reply message specified in the YIELDS
specification.
•
If the error is for a RECEIVE UNSOLICITED MESSAGE statement, the message is
rejected.
Effect. The message applies to one of the following conditions.
•
If the error is for a SEND MESSAGE statement, TERMINATION-SUBSTATUS
contains the number of bytes received. Note that due to the nature of data
overflow I/O errors, the number of bytes received may be less than the number of
bytes sent.
•
If the error is for a TRANSFORM statement, TERMINATION-SUBSTATUS contains
the number of bytes of the <trans-rec-out> data to be transformed.
•
If the error is for a RECEIVE UNSOLICITED MESSAGE statement, the message is
rejected. An error 10 (COULD NOT DELIVER) is returned by the TCP to the
sender of the message.
If no ON ERROR clause is specified, the system suspends the program unit with a
fatal error. The TCP error is logged to the PATHMON log file.
TERMINATION-STATUS 4 Pathway Error 3164
Cause. The message applies to one of the following conditions.
•
If the error is for a SEND MESSAGE statement or a TRANSFORM statement, the
code in the received message did not match any of the reply codes or select codes
specified in the YIELDS or SELECT list, respectively.
RECEIVED MESSAGE LARGER THAN EXPECTED
REPLY CODE OF RECEIVED MESSAGE UNDEFINED










