ProData Computer Services, Inc.

ILE Command - Convert RPG to RPGIV Example

back to CvtRPGIV

              Convert to RPGIV (CVTRPGIV)
Type choices, Press Enter.

From file. . . . . . . . . . . .   __________    Name
  Library. . . . . . . . . . . .   *LIBL_____    Name, *LIBL, *CURLIB
From Member. . . . . . . . . . .   *ALL______    Name, generic*, *ALL 
To file. . . . . . . . . . . . .   QRPGLESRC_    Name
  Library. . . . . . . . . . . .   *LIBL_____    Name, *LIBL, *CURLIB
To member. . . . . . . . . . . .   *FROMMBR__    Name, *FROMMBR
Conversion type. . . . . . . . .   *ADVANCED     *ADVANCED, *BASIC Convert arithmetic operators . .   *YES    *YES, *NO
Convert Comp operators . . . . .   *YES          *YES, *NO
Convert SETON/SETOF operators. .   *YES          *YES, *NO
Convert END operators. . . . . .   *YES          *YES, *NO
Highlight comments . . . . . . .   *NO           *YES, *NO
Replace existing members . . . .   *NO           *YES, *NO
Source date. . . . . . . . . . .   *SAME         *SAME, *CHG, *SYS, *ZERO 
 
F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display
F24=More Keys
With the *ADVANCED conversion type, all internal program operation codes (MOVE, ELSE, ENDIF, etc) are changed to mixed case (Move, Else, Endif, etc), while external operation codes (CALL, READ, CHAIN, etc) remain in upper case. Additionally, centain special values (*ON, *OFF, *BLANK, etc) are converted to mixed case (*On, *Off, *Blank).

It is the users responsibility to compile and fully test all converted source code before using it in a production environment.

back to top    back to CvtRPGIV