Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)

Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual426750-001
D-1
D
Errors for Message Section Statements
This appendix contains the information necessary to process errors that occur during the
execution of the Message Section statements used to implement Intelligent Device
Support (IDS).
If the ON ERROR clause is included in the statement and an error occurs, the
TERMINATION-STATUS special register is set to the specified error number. These
error numbers are described in the following pages.
If ON ERROR is not specified, TERMINATION-STATUS is not set to an error number.
The system suspends the program with a fatal error. The TCP error is logged to the
PATHMON log file.
TERMINATION-STATUS 1 Pathway Error 3161
Cause. A file-system error occurred during an input or output operation. This error
applies to the following statements:
SEND MESSAGE statement
RECEIVE UNSOLICITED MESSAGE statement
REPLY TO UNSOLICITED MESSAGE statement
Effect. TERMINATION-SUBSTATUS contains the file system error number.
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 2 Pathway Error 3162
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 shorter than the reply message specified in the YIELDS list.
If the error is for a RECEIVE UNSOLICITED MESSAGE statement, the
unsolicited message was shorter than the YIELDS specification.
Effect. The message applies to one of the following conditions.
If the error is for a SEND MESSAGE statement or a TRANSFORM statement,
TERMINATION-SUBSTATUS contains the number of bytes received.
I/O ERROR INTELLIGENT DEVICE
RECEIVED MESSAGE SMALLER THAN EXPECTED