COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

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)
Expected file key or equivalent
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.
358 (Error)
Position data item must be prime key
Cause
The operand in the POSITION phrase is not the file’s prime key. (The prime key of a relative file
is defined by the RELATIVE KEY clause; the prime key of an indexed file is defined by the RECORD
KEY clause.)
359 (Error)
ADVANCING mnemonic-name not compatible with LINAGE
Cause
The ADVANCING mnemonic-name phrase is used for a file described with the LINAGE clause.
360 (Error)
Operand too large
Cause
The size of the operand exceeds the maximum supported for its context.
361 (Error)
Improper object file name
Cause
A reference to a routine or COBOL program specifies the object file from which it must be
selected, but the external file name associated with the specified mnemonic-name does not
identify a disk-resident file.
362 (Error)
Inconsistent object file reference
Cause
One of:
Not all of the CALL and CANCEL statements specifying a particular COBOL agree about
the object file from which it must be selected.
Not all of the ENTER statements specifying a particular routine agree about the object file
from which it must be selected.
Message List 1157