IBM AS/400 Frozen Dessert Maker User Manual


 
RPG Programming in ILE
Chapter 2. RPG Programming in ILE
ILE RPG is an implementation of the RPG IV programming language in the Inte-
grated Language Environment. It is one of the family of ILE compilers available on
the AS/400 system.
ILE is a recent approach to programming on the AS/400 system. It is the result of
major enhancements to the AS/400 machine architecture and the OS/400 operating
system. The ILE family of compilers includes: ILE RPG, ILE C, ILE COBOL, ILE
CL, and VisualAge for C++. Table 4 lists the programming languages supported by
the OS/400 operating system. In addition to the support for the ILE languages,
support for the original program model (OPM) and extended program model (EPM)
languages has been retained.
Compared to OPM, ILE provides RPG users with improvements or enhancements
in the following areas of application development:
Program creation
Program management
Program call
Source debugging
Bindable application program interfaces (APIs)
Each of the above areas is explained briefly in the following paragraphs and dis-
cussed further in the following chapters.
Table 4. Programming Languages Supported on the AS/400
Integrated Language
Environment (ILE)
Original Program Model
(OPM)
Extended Program
Model (EPM)
C++ BASIC (PRPQ) FORTRAN
C CL PASCAL (PRPQ)
CL COBOL
COBOL PL/I (PRPQ)
RPG RPG
Program Creation
In ILE, program creation consists of:
1. Compiling source code into modules
2. Binding (combining) one or more modules into a program object
You can create a program object much like you do in the OPM framework, with a
one-step process using the Create Bound RPG Program (CRTBNDRPG)
command. This command creates a temporary module which is then bound into a
program object. It also allows you to bind other objects through the use of a binding
directory.
Copyright IBM Corp. 1994, 1999 17