Maintaining OPM RPG/400® and ILE RPG Program Compatibility
If you have an OPM application that consists of several RPG programs, you
can ensure that the migrated application will behave like an OPM one if you
create the ILE application as follows:
Convert each OPM source member using the CVTRPGSRC command, making sure
to convert the /COPY members.