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.
See Converting Your Source for more information.
- Using the CRTBNDRPG command, compile and bind each converted source
member separately into a program object, specifying DFTACTGRP(*YES).
For more information on OPM-compatible programs. refer to Strategy 1: OPM-Compatible Application.