IBM AS/400 manual Appendix D. Compiler Listings

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 447
Image 447
Compiler Listings

Compiler Listings

Appendix D. Compiler Listings

Compiler

listings provide

you

with information regarding the correctness

code with respect to the

syntax and

semantics

of

the RPG

IV

langu

are designed to help you

to correct any errors through a source

assist

you while you

are

debugging a

module.

This

section

tells

you

pret an ILE RPG compiler listing. See “Using a Compiler Listing” on pag information on how to use a listing.

To obtain a compiler listing specify OUTPUT(*PRINT) on either the CRTRP command or the CRTBNDRPG command. (This is their default setting.) The cation OUTPUT(*NONE) will suppress a listing.

Table 32 summarizes the keyword specifications and their associated 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 dire

 

 

 

 

 

 

 

 

 

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

reference

 

 

 

 

 

 

 

 

External

references

 

 

*EXT

 

List of external procedures and fields referenced

 

 

 

 

 

 

 

 

 

during

compilation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Message

summary

 

 

 

 

 

List of messages and number

of

times

they

occurre

 

 

 

 

 

 

 

 

 

 

 

 

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

Page 447
Image 447
IBM AS/400 manual Appendix D. Compiler Listings