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

335 (Error)
NEXT/REVERSED not compatible with random access
Cause
The NEXT phrase is used with a READ statement that specifies a file name described with random
access.
336 (Error)
PROMPT data item overlaps file record
Cause
The data item specified in the PROMPT phrase overlaps the file record area, but the data item
and file record area do not begin at the same character position.
337 (Warning)
PROMPT data item exceeds record size
Cause
The size of the PROMPT phrase operand exceeds the maximum record size for the file. (The
excess characters will not appear in the prompt.)
338 (Error)
Operands not compatible for INTO assignment
Cause
One of:
The record descriptions of the file referenced in this statement require that the INTO phrase
operand be alphanumeric, and it is not.
The record descriptions of the file referenced in this statement prohibit specification of the
INTO phrase.
339 (Warning)
No editing occurs for INTO assignment
Cause
The value of the INTO phrase operand is assigned according to the rules for a group move;
thus, no editing operations occur.
340 (Error)
Expected table item with index-names
Cause
The description of the table operand in a SEARCH statement has an OCCURS clause that does
not include the INDEXED phrase.
341 (Error)
Expected table item with keys
Cause
The description of the table operand in a SEARCH ALL statement has an OCCURS clause with
no KEY phrases.
342 (Error)
VARYING phrase not permitted with ALL
1154 Compiler Diagnostic Messages