The two-step process of program creation consists of compiling source into modules using CRTRPGMOD and then binding one or more module objects into a program using CRTPGM. With this process you can create permanent modules. This in turn allows you to modularize an application without recompiling the whole application. It also allows you to reuse the same module in different applications.
Use Rational® Developer
for i. This
is the recommended method and documentation about creating an ILE RPG program
appears in that product's online help.