IBM AS/400 Compiler Listings, 1a/ *NOSRCSTMT Source Heading, Line Number, Ruler Line, Do Number

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 454
Image 454
.1a/ *NOSRCSTMT Source Heading

Compiler Listings

Line

<----------------------

 

 

Source Specifications ----------------------------

 

 

 

 

><

----

Comments

----> Do Page

Change Src Seq

Number

....1....

+

....2....

+

....3

....+....

4....

+

....5....

+....

6

....+....

7....

+....

8....

+....

9....

+

...10 Num Line

Date

Id Number

57=OOUTREC

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6000001

 

*--------------------------------------------------------------------------------------------

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*

 

6

 

* RPG record format

. . . . :

OUTREC

 

 

 

 

 

 

 

 

 

 

 

*

 

6

 

* External format

 

. . . . . : OUTREC : MYLIB/OUTFILE

 

 

 

 

 

 

 

*

 

6

 

*--------------------------------------------------------------------------------------------

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*

 

6

58=O

 

 

 

FLDY

 

 

100A

CHAR

 

100

 

 

 

 

 

 

 

 

6000002

59=O

 

 

 

FLDZ

 

 

132A

CHAR

 

32

 

 

 

 

 

 

 

 

6000003

60=O

 

 

 

GRAPHFLD

 

 

156G

GRPH

 

12

835

 

 

 

 

 

 

 

6000004

 

* * * * *

 

E N D

 

O F

S O U R C E

 

* * * * *

 

 

 

 

 

 

 

 

 

 

 

Figure 217 (Part 3 of 3). Sample Source Part of the Listing

.1a/ *NOSRCSTMT Source Heading

The source heading shown in the above example was generated

OPTION(*NOSRCSTMT) specified.

Line Number

Starts at 1 and increments by 1 for each source or record. Use this number when debugging using statement numbers.

Ruler Line

This line adjusts when indentation is specified.

Do Number

Identifies the level of the structured operations. Thi will not appear if indentation is requested.

Page Line

Shows the first 5 columns of the source record.

Source Id

Identifies

the

source (either

/COPY or DDS)

of

the r

For /COPY members,

it

can be used to obtain

the

exte

member name

from

the

/COPY member

table.

 

 

Sequence Number (on right side of listing)

 

 

 

 

 

Shows

the

SEU

sequence

number

of

the

record

from

a

 

 

 

 

 

member

 

in

a source physical file. Shows an incremental

 

 

 

 

 

number

for records

from

a

/COPY

member or records

ge

 

 

 

 

 

ated

from

DDS.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.1b/

*SRCSTMT

Source

Heading

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

When

OPTION(*SRCSTMT)

is

specified,

the

source

heading

changes

 

 

 

 

to:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.1b/

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Seq

<----------------------

Source Specifications

----------------------------

 

 

><

---- Comments

----

> Do

Page

Change Statement

 

 

 

Number

....1....

+....2....+....3....

+....4....

+....5

....+....6....

+

....7....

+....

8....

+....

9....

+...

10 Num Line

Date

Number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The Ruler Line, Do Number, and Page Line remain unchanged.

Sequence Number (on left side of listing)

Shows the SEU sequence number of the record from a member in a source physical file. Shows an incremental number for records from a /COPY member or records ge ated from DDS.

430 ILE RPG for AS/400 Programmer's Guide

Page 454
Image 454
IBM AS/400 Compiler Listings, 1a/ *NOSRCSTMT Source Heading, Line Number, Ruler Line, Do Number, Page Line, Source Id