IBM AS/400 ユーザーズマニュアル

ページ / 489
 
 
Compiler Listings
 
 Appendix D. Compiler Listings
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 inter-
pret an ILE RPG compiler listing. See “Using a Compiler Listing” on page 63 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 specifi-
cation OUTPUT(*NONE) will suppress a listing.
Table 32 summarizes the keyword specifications and their associated compiler
listing information.
Table  32  (Page  1  of  2).  Sections of the Compiler Listing
|
Listing Section
1
|
OPTION
2
|
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 direc-
tives.
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
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 compila-
tion message
 Copyright IBM Corp. 1994, 1999 
 
423