As the compiler processes your source program, it checks for COBOL language errors. For each error found, the compiler issues a message. These messages are collated in the compiler listing (subject to the FLAG option).
Each message in the listing provides the following information:
Wherever possible, the message provides specific instructions for correcting the error.
The messages for errors found during processing of compiler options, CBL and PROCESS statements, and BASIS, COPY, or REPLACE statements are displayed near the top of the listing.
The messages for compilation errors found in your program (ordered by line number) are displayed near the end of the listing for each program.
A summary of all errors found during compilation is displayed near the bottom of the listing.
related references
Format of compiler error messages
Severity codes for compiler error messages
FLAG