IBM AS/400 manual Changing a Module or Program, Basic, Full

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 110
Image 110
Changing a Module or Program

Changing a Module or Program

Table

8.

Sections of the Binder Listing based on DETAIL Parameter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Section

Name

 

 

 

 

 

 

 

*BASIC

 

 

*EXTENDED

 

 

 

 

*FULL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

Option

Summary

 

 

 

 

 

X

 

 

 

X

 

 

 

 

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Brief

Summary

Table

 

 

 

 

 

X

 

 

 

X

 

 

 

 

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Extended

Summary

Table

 

 

 

 

 

 

 

X

 

 

 

 

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Binder

Information

Listing

 

 

 

 

 

 

 

X

 

 

 

 

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Cross-Reference

Listing

 

 

 

 

 

 

 

 

 

 

 

 

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Binding

Statistics

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The

information

in

this

listing

can

help you diagnose problems if the b

not

successful,

or

 

give

 

feedback

about

what

the

binder

encountered

i

You may want to store the listing for

an

ILE

program in

 

the file

whe

modules

or

the

module source

for

a program. To copy this listing to a

you

can

use

the

Copy

Spool

File

(CPYSPLF)

command.

 

 

 

 

 

 

 

 

Note:

 

The

CRTBNDRPG

command

will

not

create

a

binder

listing.

However,

if

 

 

binding

errors

occur

during

the

binding

phase, the

errors will

be

 

 

your

job

log,

and

 

the

compiler

listing

will

 

include

a

message

to

For an example of a basic binder listing, see “Sample Binder Listing” o

For more information on binder listingsILE Conceptssee.

Changing a Module or

Program

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

An ILE object may need to be changed for enhancements

or

for

maintena

reasons.

You

can isolate

what

needs

to

be changed by

using

debugging

tion

or the binder listing from the CRTPGM command. From

this

information

y

can

determine what module needs to

change,

and

often,

what

procedure

needs to

change.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In

addition, you may want to change

the

optimization

level

or

 

observab

module or program. This often happens

when

you

want

to

 

debug

an

progra

module,

or

when

you are

ready

to put

a

program

into

production.

Such

can

be performed more quickly and use fewer system

resources

than

re

the

object

in

question.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Finally, you may want to reduce the program size once you have comple application. ILE programs have additional data added to them which may them larger than a similar OPM program.

Each of the above requires different data to make the change. The need may not be available to you for an ILE program.

The following sections tell you how to

¹Update a program

¹ Change the optimization level

¹Change observability

¹Reduce the object size

86 ILE RPG for AS/400 Programmer's Guide

Page 110
Image 110
IBM AS/400 manual Changing a Module or Program, Basic, Full