COBOL Manual for TNS and TNS/R Programs

Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs522555-006
47-13
Message List
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.
44 (Error)
Cause. The compiler’s syntax analyzer cannot accept the token xxxx (a character-
string or a separator) and the recovery mechanism cannot find a simple correction. The
compiler tried to recover by discarding text following the token, along with as little text
preceding the token as is necessary, until the remaining text was syntactically
acceptable.
45 (Warning)
Cause. The compiler discarded all tokens from the one indicated in the message for
error 44 up to, but not including, the token xxxx. Also, the compiler might have
discarded some text prior to the point indicated in the preceding message. This error
correction usually is not the preferred one. You must determine the proper correction
through careful examination of the text at the point indicated by the preceding syntax
error message.
46 (Error)
Cause. The compiler expected to find a directive and did not. Directives are expected
in these places:
At the beginning of a directive line
After the punctuation following a completed directive
47 (Error)
Cause. The indicated word must be a directive keyword, but it is not.
Syntax error - deleting unexpected token xxxx
Syntax error detected at token xxxx
Parsing resumed at token xxxx
Expected directive
Unknown directive