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

39 (Warning, Error or Failure)
Improper actual file name
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)
Improper syntax
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)
Syntax error - replacing unexpected token with xxxx
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)
Syntax error - inserting missing token xxxx
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.
43 (Error)
Syntax error - deleting unexpected token xxxx
Cause
The compiler found a syntax error at the token xxxx (a character-string or a separator) and
recovered by deleting that token. The problem could have been a misspelled optional reserved
word or an extraneous separator. Deleting the token is probably just one of several possible
corrections. You must determine the proper correction through careful examination of the text.
44 (Error)
Syntax error detected at token xxxx
1114 Compiler Diagnostic Messages