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

Compiler Diagnostic Messages
HP COBOL Manual for TNS/E Programs520347-003
47-12
Message List
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.
43 (Error)
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.
Improper syntax
Syntax error - replacing unexpected token with xxxx
Syntax error - inserting missing token xxxx
Syntax error - deleting unexpected token xxxx