IBM AS/400 Frozen Dessert Maker User Manual


 
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. The log file is
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 0. If severe
errors are found, the status is set to 30.
If you try to convert a member with an unsupported member type or a member that
already exists, then the conversion will not take place, as this is a severe error
(severity 40 or higher). A record will be added to the log file with the conversion
status set to 40. The TOFILE, TOMBR, and TO LIBRARY will be set to blank to
indicate that a TOMBR was not generated (as the conversion did not take place).
The log file is an externally described, physical database file. A "model" of this file
is provided in library QRPGLE in file QARNCVTLG. It has one record format called
QRNCVTLG. All field names are six characters in length and follow the naming
convention LGxxxx, where xxxx describes the fields. Figure 200 on page 397
shows the DDS for this file.
| Use the following CPYF command to create a copy of this model in your own
| library, referred to here as MYLIB. You may want to name your log file
| 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