COBOL Manual for TNS and TNS/R Programs

Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs522555-006
47-7
Message List
12 (Failure)
Cause. One of:
The reserved word COPY appears where it is not expected (for example, within
COPY library text).
The reserved word REPLACE appears where it is not expected (for example,
within source text produced by the editing activities of a REPLACE statement).
13 (Failure)
Cause. The source program does not begin with an Identification Division header.
14 (Failure)
Cause. The compiler reached the end of the source file during an attempt to recover
from a syntax error. This usually occurs in one of these situations:
A syntax error is near the end of the source file, so the remaining text does not
provide enough context for the compiler to decide how to recover.
A syntax error is such that the compiler fails to discover an acceptable method of
recovery and flushes the remaining source text.
15 (Failure)
Cause. The compiler cannot continue execution because it has exhausted some
internal resource. The message can have one of these suffixes:
- statement nesting too deep
- editing space overflow
- too much pseudo text
- too many editable lines
- too many edited lines
If the message has the suffix
- statement nesting too deep
rewrite the statement, reducing the number of nested scopes.
Use PARAM SYMBOL-BLOCKS to allocate more space.
Improper context for source text directive
Expected IDENTIFICATION
End of file reached during error recovery
Compiler internal resource failure