What resources would you recommend for converting RPG36 code?

The question really asks everyone. We have a bunch of really old S / 36 programs that need to be moderated. I'm looking more for articles or sites that explain what the old method does and how to convert it to RPGLE.

0


source to share


2 answers


Here is a guide for RPG II on AS400 so you can understand the old code.

You can just try to compile the code as RPGIII using CRTRPGPGM. Fix compilation errors in the list to convert the code to RPG III.



Once you have your RPG III source, you can continue to convert it to RPG ILE using the CVTRPGSRC command.

It would also be possible to take the RPG36 code directly into CVTRPGSRC to convert the source code to RPG ILE.

+1


source


There is no syntactic difference between RPG II and RPG III. In fact, you can simply change the RPG36 attribute to RPG and it will be "updated". You can then run this new member through CVTRPGSRC and get a (usually) useful RPGLE program out of it.



S / 36 Procedures, on the other hand, are not easy to convert.

+2


source







All Articles