The question really asks it all. We have a bunch of really old S/36 programs that need to be moderized. I am more looking for articles or sites that explain what the old method does and how to convert it to RPGLE.
A:
Here's a manual for RPG II on the AS400 so you can understand the old code.
You could just trying to compile the code as RPGIII using CRTRPGPGM. Fix the compile errors on the listing to convert the code to RPG III.
Once you have RPG III source you can continue further to convert it to RPG ILE with the CVTRPGSRC command.
It's might also be possible to take the RPG36 code directly into CVTRPGSRC to convert the source to RPG ILE.
Paul Morgan
2008-12-22 19:21:33
+2
A:
There is no syntactic difference between RPG II and RPG III. You can actually just change the attribute from RPG36 to RPG and it will be "upgraded." You can then run this new member through CVTRPGSRC and get a (usually) useable RPGLE program out of it.
S/36 Procedures, on the other hand, are not as simple to convert.
LarrikJ
2009-06-29 22:19:32