COBOL Manual for TNS and TNS/R Programs
Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs—522555-006
47-12
Message List
39 (Warning, Error or Failure)
Cause. Warning: The run unit file name (object file name) field in the command that
called the compiler has improper punctuation or its content does not have the form of a
disk file name. The compiler supplies RUNUNIT (with appropriate default volume and
subvolume components) as the run unit file name.
Error: A system-name is in a context where it must identify an actual file (for example,
in a File-Mnemonic clause), but it does not have the form of an actual file name.
Failure: A COPY or SOURCE file does not have the form of a disk file name.
40 (Error)
Cause. One of:
•
The analysis of a COPY or REPLACE statement failed when it reached the
indicated element because of a syntactic problem (for example, a required
component is missing).
•
The compiler found a syntactic problem in a Procedure Division statement after the
general syntax analysis completed with apparent success.
41 (Error)
Cause. The compiler found a syntax error at the indicated point and recovered by
replacing that token (a character-string or a separator) with the token xxxx (a different
character-string or separator). This replacement is probably just one of several
possible corrections. You must determine the proper correction through careful
examination of the text.
42 (Error)
Cause. The compiler found a syntax error at the indicated point and recovered by
inserting the token xxxx (a character-string or a separator) just prior to that point.
Inserting that token is probably just one of several possible corrections. You must
determine the proper correction through careful examination of the text.
Improper actual file name
Improper syntax
Syntax error - replacing unexpected token with xxxx
Syntax error - inserting missing token xxxx