COBOL Manual for TNS and TNS/R Programs
Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs—522555-006
47-81
Message List
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.
405 (Warning)
Cause. The compiler has determined that the value of this relation condition will be
always TRUE or always FALSE. (Example: a literal is compared to a shorter data
item.) This message might point only to the statement in error, not to the erroneous line
of the statement.
406 (Warning)
Cause. A value of a numeric literal specified as the sending operand in a SET
statement is greater than the maximum occurrence number defined for assignment to
an index-name specified as a receiving operand. Execution of the statement will assign
an improper value to the index-name.
407 (Warning)
Cause. A SEARCH ALL statement specifies a condition that does not conform to the
rules of the COBOL language. HP COBOL employs a serial rather than a binary
search technique in this situation.
408 (Error)
Cause. The sum of the buffer space needed for files exceeds 62 KB. (Reduce the size
of blocks specified in the BLOCK CONTAINS clause in one or more File Description
entries or reduce the number of files.)
Size error on literal expression
Relation truth value is constant
SET statement literal not in subscript range
Improper SEARCH ALL condition - serial search used
Program buffer space exceeds 31000 words