Example: short listing
The note
numbers shown in the following listing correspond to the numbered explanations
that follow the listing. For illustrative purposes, some errors that cause
diagnostic messages were deliberately introduced.


- (1)
- Message about options passed to the compiler at compiler
invocation. This message does not appear if no options were passed.
- (2)
- Options coded in the PROCESS (or CBL) statement.
- (3)
- Status of options at the start of this compilation.
- (4)
- Program diagnostics. The first message refers you to the library phase
diagnostics, if there were any. Diagnostics for the library phase are always
presented at the beginning of the listing.
- (5)
- Count of diagnostic messages in this program, grouped by severity level.
- (6)
- Program statistics for the program SLISTING.
- (7)
- The locale that the compiler used.
- (8)
- Program statistics for the compilation unit. When you perform a batch
compilation (multiple outermost COBOL programs in a single compilation), the
return code is the highest message severity level for the entire
compilation.
|