IBM AS/400 Frozen Dessert Maker User Manual


 
Analyzing Your Conversion
Using the Conversion Report
The Conversion Aid generates a conversion report if you specify the
CVTRPT(*YES) parameter on the CVTRPGSRC command. The spooled file name
is the same as the file name specified on the TOFILE parameter.
The conversion report consists of four parts:
1. CVTRPGSRC command options
2. source section
3. message summary
4. final summary
The first part of the listing includes a summary of the command options used by
CVTRPGSRC. Figure 196 shows the command summary for a sample conversion.
5769RG1 V4R4M0 990521 RN IBM ILE RPG AS400S01 12/30/99 20:41:35 Page 1
Command ............: CVTRPGSRC
Issued by . . . . . . . . . . : DAVE
From file . . . . . . . . . . . : QRPGSRC
Library . . . . . . . . . . . : MYLIB
From member . . . . . . . . . . : REPORT
To file. . . . . . . . . . . . . : QRPGLESRC
Library . . . . . . . . . . . : MYLIB
To member . . . . . . . . . . . : *FROMMBR
Log file . . . . . . . . . . . . : *NONE
Library . . . . . . . . . . . :
Log member . . . . . . . . . . . : *FIRST
Expand copy members. . . . . . . : *NO
Print conversion report . . . . : *YES
Include second level text. . . . : *YES
Insert specification template. . : *YES
Figure 196. Command Summary of Sample Conversion Report
The source section includes lines that have informational, warning, or error mes-
sages associated with them. These lines have an asterisk (*) in column 1 for ease
of browsing in SEU. The message summary contains all three message types.
Two informational messages which may be of particular interest are:
RNM0508 — flags /COPY statements
RNM0511 — flags CALL operations
All /COPY members in an program must be converted in order for the corre-
sponding ILE RPG program to compile without errors. Similarly, you may want to
convert all members related by CALL at the same time. Use this part of the report
to assist you in identifying these members. Figure 197 on page 395 shows the
source section for the sample conversion.
394 ILE RPG for AS/400 Programmer's Guide