Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Errors for Message Section Statements
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
D-8
TERMINATION-STATUS 21 Pathway Error 3181
Cause. There is an illegal RESULTING COUNT value in relation to the Message
Section field’s declared size. This error applies to the following statements:
•
SEND MESSAGE statement
•
TRANSFORM statement
•
RECEIVE UNSOLICITED MESSAGE statement
•
REPLY TO UNSOLICITED MESSAGE statement
Effect. This error is returned when a field being processed during delimited field
processing is larger than its declared size. This error is returned only for messages
mapped through the Message Section.
If the error is for a RECEIVE UNSOLICITED MESSAGE statement, the unsolicited
message that the RECEIVE UNSOLICITED MESSAGE attempted to receive 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 23 Pathway Error 3183
Cause. For a field defined by an OCCURS DEPENDING ON clause, the number of
occurrences specified by the depending variable’s value is outside of the range declared
by the OCCURS DEPENDING ON clause. This error applies to the following
statements:
•
SEND MESSAGE statement
•
TRANSFORM statement
•
RECEIVE UNSOLICITED MESSAGE statement
•
REPLY TO UNSOLICITED MESSAGE statement
Effect. 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.
VARIABLE FIELD SIZE WOULD EXCEED DECLARED FIELD SIZE
DEPENDING VALUE IS OUT OF BOUNDS