IBM AS/400 manual Prologue, Reading a, Compiler Listings

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 448
Image 448
Reading a

Compiler Listings

Table 32 (Page 2 of

2). Sections of the Compiler Listing

 

Listing

Section 1

 

OPTION

2

Description

 

Code

3

 

 

 

Errors (if any) which occur during code generation

generation errors

 

 

 

 

 

 

 

 

phase.

 

 

 

 

 

 

 

 

3

 

 

 

Errors (if any) which occur during binding phase for

Binding section

 

 

 

 

 

 

 

 

CRTBNDRPG command

 

 

 

 

 

 

 

Notes:

 

 

 

 

 

 

1.The information contained in the listing section is dependent on whether *SRCSTMT or *NOSRCSTMT is specified for the OPTION parameter. For details on how this information changes, see "*NOSRCSTM

Heading" on page 430 and "*SRCSTMT Source

Heading" on page 430. *SRCSTMT allows you to request

 

that the compiler use SEU

sequence numbers and source IDs when

generating

statement

numbers

ging. Otherwise, statement numbers are

associated

with

the

Line

Numbers of

the listing and

t

assigned

sequentially.

 

 

 

 

 

 

 

 

 

 

 

2. The

OPTION

column

indicates

what value

to specify

on

the

OPTION

parameter

to

obtain

this

in

blank

entry

means

that

the

information

will always appear if OUTPUT(*PRINT) is

specified.

 

3. The

sections containing

the

code generation errors and binding errors appear only if there

no option

to

suppress

these

sections.

 

 

 

 

 

 

 

 

 

Reading a

Compiler Listing

 

 

 

 

 

 

 

 

 

 

 

The

following

text contains

a brief discussion and an example of each

 

the

compiler

listing.

The

sections

are

presented

in

the

order

in

which

 

a listing.

 

 

 

 

 

 

 

 

 

 

Prologue

 

 

 

 

 

 

 

 

 

 

 

 

 

The

prologue

section

summarizes the command parameters

and

their

values

 

they

were

processed

by

the CL command analyzer. If *CURLIB or *LIBL

 

fied, the actual library name is listed. Also indicated in the prologu

 

overrides. Figure 214

on

page 425 illustrates how to interpret the Prolo

of

the listing for

the

program

MYSRC,

which was

compiled

using

the

CRTB

command.

424 ILE RPG for AS/400 Programmer's Guide

Page 448
Image 448
IBM AS/400 manual Prologue, Reading a, Compiler Listings