Format of compiler diagnostic 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, the numbers are the original source program numbers. If you specifiedNONUMBER
, the numbers are those generated by the compiler. - IGY
- A prefix that identifies that the message was issued by the COBOL compiler.
- pp
- Two characters that identify which phase or subphase of the compiler detected the condition that resulted in a message. 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 message.
- l
- A character that indicates the severity level of the message: I, W, E, S, or U.
- message-text
- The message text; for an error message, 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.