IBM AS/400 manual Using a Binder Listing, Additional Examples, Related CL Commands

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 109
Image 109
Using a Binder Listing

 

 

 

Using a Binder Listing

 

 

 

 

Product name

 

Quantity

Income

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

--------

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

Large

 

245

330,750.00

Super

 

15

52,500.00

Super Large

 

0

.00

Super Jumbo

 

123

2,952,000.00

Incredibly Large Super Jumbo

15

912,000.00

***Unknown***

 

12

.00

Total:

4,247,250.00

 

 

 

 

 

Figure 41.

File QSYSPRT for TRPT

 

Additional Examples

For additional examples of creating programs, see:

¹“Binding to a Program” on page 98, for an example of binding a modu service program.

¹ “Sample Source for Debug

Examples”

on

page 211, for an example of

a program consisting of

an RPG and

C

module.

Related CL Commands

The

following CL commands can be used with programs:

¹

Change

Program

(CHGPGM)

¹

Delete

Program

(DLTPGM)

¹ Display Program (DSPPGM)

¹ Display Program References (DSPPGMREF)

¹ Update Program (UPDPGM)

¹Work with Program (WRKPGM)

For further information on these commandsCL Referencesee the (Abridged).

Using a Binder Listing

The

binding

process

can produce a listing that describes the resour

symbols

and

objects

encountered, and

problems

that

were

resolved

or

in

the

binding

process. The

listing

is produced as a spooled file

to

enter the

CRTPGM

command. The command default is to not produce th

mation,

but

you can

choose

a DETAIL

parameter

value

to

generate

it

levels

of

detail:

 

 

 

 

 

 

 

¹*BASIC

¹*EXTENDED

¹*FULL

The

binder listing includes the following sections depending on the val

for

DETAIL:

Chapter 7. Creating a Program with the CRTRPGMOD and CRTPGM Commands85

Page 109
Image 109
IBM AS/400 manual Using a Binder Listing, Additional Examples, Related CL Commands