Creating a Program with the CRTRPGMOD and CRTPGM Commands

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.

This chapter shows how to:
  • Create a module object from RPG IV source
  • Bind modules into a program using CRTPGM
  • Read a binder listing
  • Change a module or program

Start of changeUse Rational® Developer for i. This is the recommended method and documentation about creating an ILE RPG program appears in that product's online help.End of change