ILE RPG Programmer's Guide
To obtain a compiler listing specify OUTPUT(*PRINT) on either the
CRTBNDRPG command or the CRTRPGMOD command. (This is their default
setting.) The specification OUTPUT(*NONE) will suppress a listing.
Specifying OUTPUT(*PRINT) results in a compiler listing which consists minimally of the following sections:
- Prologue (command option summary)
- Source Listing, which includes:
- In-Line diagnostic messages
- Match-field table (if using the RPG cycle with match fields)
- Additional diagnostic messages
- Field Positions in Output Buffer
- /COPY Member Table
- Compile Time Data which includes:
- Alternate Collating Sequence records and table or NLSS information
and table
- File translation records
- Array records
- Table records
- Message summary
- Final summary
- Code generation report (appears only if there are errors)
- Binding report (applies only to CRTBNDRPG; appears only if there
are errors)
The following additional information is included in a compiler
listing if the appropriate value is specified on the OPTION parameter
of either create command:
- *EXPDDS
- Specifications of externally-described files (appear in source
section of listing)
- *SHOWCPY
- Source records of /COPY members (appear in source section of
listing)
- *SHOWSKP
- Source lines excluded by conditional compilation directives
(appear in source section of listing)
- *EXPDDS
- Key field information (separate section)
- *XREF
- List of Cross references (separate section)
- *EXT
- List of External references (separate section)
- *SECLVL
- Second-level message text (appear in message summary section)
Note:
Except for *SECLVL and *SHOWSKP, all of the above
values reflect the default settings on the OPTION parameter for both
create commands. You do not need to change the OPTION parameter unless
you do not want certain listing sections or unless you want second
level text to be included.
The information contained in a compiler listing is also dependent
on whether *SRCSTMT or *NOSRCSTMT is specified for the OPTION parameter.
For details on how this information changes, see "*NOSRCSTMT Source Heading" and "*SRCSTMT Source Heading".
If any compile option keywords are specified on the control specification,
the compiler options in effect will appear in the source section of
the listing.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]