COBOL Manual for TNS/E Programs (H06.03+)
Compiler Diagnostic Messages
HP COBOL Manual for TNS/E Programs—520347-003
47-80
Message List
•
Find sequences of code that occur several times and make each of them a
procedure (see Procedures and Procedure Execution). To transfer control to a
paragraph or procedure, use the statement PERFORM.
•
Change level-77 data items and elementary level-01 data items that are numeric
from USAGE DISPLAY to USAGE COMP (see USAGE Clause).
401 (Error)
Cause. The object code generated for a contained program exceeds 65,534 bytes,
which is the maximum size supported.
402 (Error)
Cause. In a reference modifier, the value of the first character position exceeds the
size of the subject data item.
403 (Error)
Cause. In a reference modifier, the value of the last character position first-
character-position + length - 1 exceeds the size of the subject data item.
404 (Warning)
Cause. The compiler has determined that this expression, composed solely of literal
operands, will always generate the size error condition during execution. If the
associated statement includes the SIZE ERROR clause, the program takes the size
error branch; otherwise, an arithmetic overflow can result, or (if the receiving item is of
USAGE COMPUTATIONAL) the program can store a number larger than the maximum
value allowed for the item, leading to an arithmetic overflow later in the execution.
Embedded program code exceeds 32767 words
Reference modifier first character out of range
Reference modifier length out of range
Size error on literal expression










