COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
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)
Parsing resumed at token xxxx
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)
Expected directive
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)
Unknown directive
Cause
The indicated word must be a directive keyword, but it is not.
48 (Warning or Error)
Improper context for this directive
Cause
The compiler encountered an improperly-placed directive.
Warning:One of:
• The SYMBOLS or NOSYMBOLS directive is within a separately compiled program. It is
ignored in this context.
• The STANDARD 2002 directive is in effect when the FIPS or SUBSET directive appears, or
a FIPS or SUBSET directive is in effect when the STANDARD 2002 directive appears. The
directive that appeared first remains in effect.
Error: One of:
• The indicated directive (MAIN or NONSTOP) cannot appear at this point in the source text.
It must precede the first source program’s Identification Division header.
• The indicated directive (SYNTAX or COMPILE) cannot appear at this point in the source
text. It must appear before the first separately compiled program or between separately
compiled programs.
• The SECTION directive cannot appear at this point in the directive line. It must be the first
one on its directive line.
• The program contains the SQLMEM directive but not the SQL directive.
Message List 1115










