Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Format of compiler error messages

Each message issued by the compiler has a source line number, a message identifier, and message text.

Each message has the following form:

nnnnnn IGYppxxxx-l message-text
nnnnnn
The number of the source statement of the last line that the compiler was processing. Source statement numbers are listed on the source printout of your program. If you specified the NUMBER option at compile time, these are your original source program numbers. If you specified NONUMBER, the numbers are those generated by the compiler.
IGY
The prefix that identifies this message as coming from the COBOL compiler.
pp
Two characters that identify which phase or subphase of the compiler discovered the error. As an application programmer, you can ignore this information. If you are diagnosing a suspected compiler error, contact IBM for support.
xxxx
A four-digit number that identifies the error message.
l
A character that indicates the severity level of the error: I, W, E, S, or U.
message-text
The message text, which in the case of an error message is a short explanation of the condition that caused the error.

Tip: If you used the FLAG option to suppress messages, there might be additional errors in your program.

related references
Severity codes for compiler error messages
FLAG


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)