IBM AS/400 manual Using the Log File, Analyzing Your Conversion

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 420
Image 420

Analyzing Your Conversion

 

 

 

F i n a l S u m m a r y

Message Totals:

 

 

 

 

 

Information

(00)

. . .

. . . .

:

2

Warning

(10)

. . .

. . . .

:

0

Severe Error

(30+) . .

. . . .

:

1

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

 

 

-------

Total . . . .

. .

. . .

. . . .

:

3

Source Totals:

 

 

 

 

 

Original Records Read .

. . . .

. :

3

Converted Records Written . . .

. :

4

Highest Severity Message Issued . :

30

* * * * *

E N D

O F

F I N A L

S U M M A R Y * * * * *

* * * * *

E N D

O F

C O N V E R S I O N * * * * *

 

 

Figure 199.

Sample Final Summary of Conversion Report

Using the Log File

By browsing the log file, you can see the results of your conversions updated after each conversion operation. It tracks:

¹ Source members and their library names

¹ Converted source file names and their library names

¹Highest severity error found

For example, if no errors are found, the conversion status is set to errors are found, the status is set to 30.

If you try to convert a member with an unsupported member type or a already exists, then the conversion will not take place, as this is a (severity 40 or higher). A record will be added to the log file wi status set to 40. The TOFILE, TOMBR, and TO LIBRARY will be set to bl indicate that a TOMBR was not generated (as the conversion did not t

 

The

log

file

is

an

externally

described, physical database

file.

A "

 

is

provided

in

library

QRPGLE

in

file QARNCVTLG. It has one record form

 

QRNCVTLG.

All

field

names

are six

characters

in

length and follow the nam

 

convention

LGxxxx,

where

xxxx describes the fields. Figure 200 on page

 

shows

the

DDS for

this

file.

 

 

 

 

 

 

 

 

Use

the

following

CPYF

command

to

create a copy of this model in you

library,

referred

to

here

as

MYLIB. You

may

want

to

name

your

log

QRNCVTLG,

as

this

is

the default

log file

name

for

the

Conversion

Aid.

CPYF FROMFILE(QRPGLE/QARNCVTLG) TOFILE(MYLIB/QRNCVTLG)

CRTFILE(*YES)

396 ILE RPG for AS/400 Programmer's Guide

Page 420
Image 420
IBM AS/400 Using the Log File, Analyzing Your Conversion, Cpyf Fromfileqrpgle/Qarncvtlg Tofilemylib/Qrncvtlg Crtfile*Yes