IBM AS/400 manual Customizing a Compiler Listing, Customizing a Page Heading, Using

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 88
Image 88

Using

a Compiler Listing

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*SHOWSKP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Source lines excluded by conditional compilation directives (appe

 

 

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

 

 

do

not

need to change the OPTION

parameter

unless

you

do

not

wa

 

 

certain

listing

 

sections

or

 

unless

you want second level text to b

The

information

contained in

 

a

compiler

listing is also dependent on whe

*SRCSTMT

or

*NOSRCSTMT

is

 

specified

for

the

OPTION

parameter.

For

details

on how this

information

changes,

 

see

"*NOSRCSTMT

 

Source

Heading"

on

 

 

page 430

and "*SRCSTMT

Source

 

Heading"

on

page 430.

 

 

 

 

 

 

If any compile option keywords are specified on the control specifica piler options in effect will appear in the source section of the list

Customizing a Compiler Listing

You can customize a compiler listing in any or all of the following way

¹ Customize the page heading

¹ Customize the spacing

¹Indent structured operations

Customizing a Page Heading

The page heading information includes the product information line and th supplied by a /TITLE directive. The product information line includes th compiler and library copyright notice, the member, and library of the program, the date and time when the module was created, and the pag the listing.

You can specify heading information on

the

compiler

listing

through

the

/TITLE

compiler

directive.

This

directive

allows

you

to specify

text

w

at the

top of each page of

the compiler

listing.

This

information

will

usual

page heading

information.

If the directive is the first record

member,

then

this information will also

appear

in

the

prologue

section.

 

You

can

also

change

the

date

separator,

date

format,

and

time

separ

the page heading and other information boxes throughout

the

listing. Nor

compiler

determines

these

by

looking at the job attributes. To change

use

the

Change Job (CHGJOB)

command.

After

entering

this

command

you

c

¹Select one of the following date separators: *SYSVAL, *BLANK, slash (/),

hyphen (-) period (.) or comma (,)

¹ Select one of the following date formats: *SYSVAL, *YMD, *MDY, *DMY, or *JUL

64 ILE RPG for AS/400 Programmer's Guide

Page 88
Image 88
IBM AS/400 manual Customizing a Compiler Listing, Customizing a Page Heading, Using