COBOL Manual for TNS and TNS/R Programs

Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs522555-006
47-69
Message List
352 (Error)
Cause. The KEY phrase appears with a NEXT phrase.
353 (Error)
Cause. The reference in the KEY phrase does not identify a key of the specified file.
354 (Error)
Cause. In a file-control entry with multiple keys, the sum of the lengths of the keys
exceeds 253 characters.
355 (Error)
Cause. The KEY phrase appears in a statement other than a START statement, and
the file is neither indexed nor described with a RELATIVE KEY phrase.
356 (Error)
Cause. One of:
The operator in the KEY phrase is not equal sign (=), greater-than sign (>),
greater-than-or-equal sign (>=), or one of their equivalents.
The POSITION or GENERIC phrase is present, and the operator in the KEY
phrase is not the equal sign (=) or EQUAL.
357 (Error)
Cause. The operand in the KEY phrase is neither a data item described as a file key,
nor a data item whose leftmost character position coincides with the leftmost character
position of a file key and whose length is less than or equal to the length of that file key.
KEY phrase not compatible with NEXT phrase
KEY item not found within file record
Length of combined keys exceeds 253 characters
File has no default prime key
Improper relation for this context
Expected file key or equivalent