Compiler listings provide you with information regarding the correctness of your code with respect to the syntax and semantics of the RPG IV language. The listings are designed to help you to correct any errors through a source editor; as well as assist you while you are debugging a module. This section tells you how to interpret an ILE RPG compiler listing. See Using a Compiler Listing for information on how to use a listing.
To obtain a compiler listing specify OUTPUT(*PRINT) on either the CRTRPGMOD command or the CRTBNDRPG command. (This is their default setting.) The specification OUTPUT(*NONE) will suppress a listing.
Table 59 summarizes the keyword specifications and their associated compiler listing information.
Listing Section1 | OPTION2 | Description |
---|---|---|
Prologue | Command option summary | |
Source listing | Source specifications | |
In-line diagnostic messages | Errors contained within one line of source | |
/COPY members | *SHOWCPY | /COPY member source records |
Skipped statements | *SHOWSKP | Source lines excluded by conditional compilation directives. |
Externally described files | *EXPDDS | Generated specifications |
Matching field table | Lengths that are matched based on matching fields | |
Additional diagnostic messages | Errors spanning more than one line of source | |
Field Positions in Output Buffer | Start and end positions of programmed-described output fields | |
/COPY member table | List of /COPY members and their external names | |
Compile-time data | Compilation source records | |
Alternate collating sequences | ALTSEQ records and table or NLSS information and table | |
File translation | File translation records | |
Arrays | Array records | |
Tables | Table records | |
Key field information | *EXPDDS | Key field attributes |
Cross reference | *XREF | File and record, and field and indicator references |
EVAL-CORR Summary | *XREF4 | Summary of subfields for EVAL-CORR operations |
External references | *EXT | List of external procedures and fields referenced during compilation |
Message summary | List of messages and number of times they occurred | |
Second-level text | *SECLVL | Second-level text of messages |
Final summary | Message and source record totals, and final compilation message | |
Code generation errors3 | Errors (if any) which occur during code generation phase. | |
Binding section3 | Errors (if any) which occur during binding phase for CRTBNDRPG command | |
Notes:
|