What are the tools that can help me in migrating from RPG/400 to RPG IV?
Announcement
Collapse
No announcement yet.
Migrate from RPG/400 to RPG IV
Collapse
X
-
Re: Migrate from RPG/400 to RPG IV
sandypathak,
I have used it in the past and it worked well. And yes, if I understand you correctly, it converts as is. Mind, it won't fix bad code, just convert it to IV
. Just test it out on a couple of source members to get a feel for what it will do and not do.
HTH,
MdnghtPgmr"Tis better to be thought a fool then to open one's mouth and remove all doubt." - Benjamin Franklin
Comment
-
Re: Migrate from RPG/400 to RPG IV
Yes it converts as is and it does work just fine.
The source you end up with will look very similar to the way it looks now.
If you want somethng to make your code look more like proper RPG IV you can try CVTILEFMT after running CVTRPGSRC. CVTILEFMT is a free tool you can pickup from a website ( I forget which one but you can Google it) I've tried it a couple times before and it seems OK. There are probably others as well.
Good luck
Comment
-
Re: Migrate from RPG/400 to RPG IV
I used both these items and they work 95% of the time. There are 2 things I watch out for.
1. There are a couple of rarely used commands that won't convert. You will get a message.
2. When passing numeric parms, always use packed fields in RPG4. When converting, I found some S-type numerics that passed ok in RPG3, but gave a dec data error in RPG4. Esp true when RPG3 pgm calls RPG4 or the reverse.
Note that these utilities set you up with an RPG-IV pgm, but do not implement ILE. It also a good learning tool.
BTW: If you are using the WDSc lpex editor, you can open the source, and do a one-click conversion from RPG3 to RPG4, and optionally, another one-click conversion to free-format RPG.
Comment
-
Re: Migrate from RPG/400 to RPG IV
The lpex editor an also be a great learning tool. Its ability to convert source to RPG-IV "on the fly" combined with it's auto syntax checking, IDE-type prompting, and source verify can be invaluable for the new user.
Comment







Comment