IBM AS/400 manual The Log File, Conversion Aid Tool Requirements, Overview

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 405
Image 405

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Conversion

 

Overview

 

 

 

 

 

 

 

If the converted source file

has

a

record

length

less

 

than

 

92

cha

error message will be issued and the conversion

 

will

stop.

This

is

b

record length is not long enough

to

contain

the

80

characters

allowed

code

and

so

some

code

is

 

likely

to

be

lost.

 

 

 

 

 

 

 

 

 

 

File

and

Member

Names

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The

unconverted

member and

the

member

for

the

converted

output

can

 

the

same

name

if

they

are

in

different

files

 

or

libraries.

 

 

 

 

The name of the converted source member(s) depends

on

whether

you

 

verting one or several members.

If

you

are

converting

one

member,

th

give

the

converted

source

member

the

same

name

 

as

the

unconverted

m

You can, of course, specify a different name

for

the

output

membe

verting

all

source

members in

a

file,

or

a

group

of them

using

a

ge

the members will automatically be given the same

 

name

as

the

unconver

members.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note that specifying the file, library and member name for the conv optional. If you do not specify any of these names, the converted placed in the file QRPGLESRC and have a member name the same as the verted member name. (The library list will be searched for the fil

The Log File

The Conversion Aid uses a log

file to provide

 

audit trails on the st

source member conversion. By

browsing

the

log

file,

 

you

can

determine

of previous conversions. You can access the

log file with a user-wri

further

processing, for example, compiling and

binding

programs.

 

 

 

If

you

specify that a log file is to be

updated,

then

its

reco

format of the IBM-suppled "model" database file QARNCVTLG

in

library

Q

Figure 200 on page 397 shows the DDS for this

file.

 

Use

the

following

CRTDUPOBJ

command to

create

a copy

of

this

model

in your

own

librar

to here as MYLIB. You may want to name your

log

file

QRNCVTLG,

as

t

default log file name for the Conversion Aid.

 

 

 

 

 

 

 

 

 

CRTDUPOBJ OBJ(QARNCVTLG) FROMLIB(QRPGLE) OBJTYPE(*FILE)

 

 

 

 

 

 

 

 

 

 

 

TOLIB(MYLIB) NEWOBJ(QRNCVTLG)

 

 

 

 

 

 

 

 

 

 

 

 

You

must

have object management, operational and

add

authority

to

the

that

is

accessed

by the Conversion

Aid.

 

 

 

 

 

 

 

 

 

 

For information on using the log file see “Using the Log File” on pag

Conversion Aid Tool Requirements

To

use

the Conversion

Aid,

you need the following authority:

¹

*USE

authority

for

the

CVTRPGSRC

command

¹

*USE

authority

to

the

library

that contains the source file and

¹*CHANGE authority to the new library that will contain the source f verted source members

¹object management, operational, and add authority to the log file Conversion Aid

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

Page 405
Image 405
IBM AS/400 manual The Log File, Conversion Aid Tool Requirements, Overview