IBM AS/400 manual Obtaining Conversion Reports, Converting Auto Report, Source Members

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 413
Image 413

Converting Your Source

Using the TOFILE(*NONE) parameter stops the Conversion Aid from generating converted member, but still allows it to produce a conversion report. mation on the conversion report, see “Analyzing Your Conversion” on page

Obtaining Conversion Reports

The Conversion Aid normally produces a conversion report each time you command. The name of the spooled file corresponds to the file name the TOFILE parameter. If you try to convert a member that already

unsupported member

type,

then

a message is printed in the job log

these

members

have not

been

converted. The log file,

if requested,

to reflect that no conversion

has

occurred. However,

no information re

these

members

is

placed

in

the

report.

 

The conversion report includes the following information:

¹

CVTRPGSRC

command

options

¹

Source

section

that includes:

– conversion errors or warnings

CALL operations

/COPY directives

¹Message summary

¹Final summary

The conversion error messages provide you with

suggestions on

how to

error. In addition, any CALL operations and /COPY directives

in

the

u

source

are

flagged

to

help you

in identifying

the various

parts

of

are converting. In general, you

should convert

all RPG

components

of

a

tion

at

the

same time.

 

 

 

 

 

 

 

If

you

do

not want

a

conversion

report, then

specify

CVTRPT(*NO).

 

Converting Auto Report

Source Members

 

 

 

 

 

 

When

an

auto

report

source member (type RPT or RPT38)

is

detected

III

or

OPM

RPG/400

source program, the Conversion Aid

calls

the

CRTRPTP

command to expand the source

member

and then converts

it.

(This

is

auto

report

is not

supported

by ILE

RPG.)

 

 

 

The auto report program produces a spooled file each time it is c version Aid. You may want to check this file to see if any errors auto report expansion, since these errors will not be in the convers

In particular, you may want

to check the auto report spooled file

message

indicating

that

/COPY

members were not found. The Conversion Ai

not

know

if these

files

are

missing. However, without these files, i

to

successfully convert

your

source.

 

 

 

Note:

If

the

source member

type of the member to

be

converted

is

 

RPT38 and the memberis

an

auto report source member, you should

 

 

assign the correct source member type (RPT or

RPT38) to the

me

 

before

converting

it;

otherwise conversion errors

may

occur.

 

Appendix B. Using the RPG III to RPG IV389 Conversion Aid

Page 413
Image 413
IBM AS/400 manual Obtaining Conversion Reports, Converting Auto Report, Source Members, Converting Your Source