IBM LPP Application Development Products 691
Draft Document for Review October 18, 2004 5486LPAD.fm
IBM Integrated Language Environment RPG for iSeries
RPG is the most popular language for writing iSeries business logic because of
its ease of use and tight integration with the server. V5R3 is the largest release of
RPG IV since the introduction of ILE RPG in V3R1. V5R1 enhancements include
totally free-form C-specs, improved RPG-calling-Java support, and improved
data structure support, such as support for data structures, qualified names, and
more built-in functions.
IBM ILE RPG/400 consists of the RPG compilers listed in the following table.
ILE RPG for iSeries is designed for writing various types of application programs.
This language is easy to learn, yet offers many advanced functions for
experienced programmers. It delivers RPG IV, the next evolution of the
programming language. The RPG IV compiler offers improved programmer
productivity and application growth and quality.
Features
Java enablement to simplify coding of calls to Java classes and methods
More granular exception monitoring (MONITOR operation code)
Built-in functions %ALLOC, %REALLOC, %CHECK, %CHECKR,
%LOOKUPxx, %TLOOKUPxx, %OCCUR, %SHTDN, %SQRT, and %XLATE
Date, time, and timestamp operations allowed in expressions
Free-form calculation specifications
Runtime control of the file to be opened
LICOPT support to pass options directly to the translator
Qualified names in data structures
ELSEIF operation code
Predefined /DEFINE names
Compiler directive /INCLUDE
New with V5R3
The IBM tradition of adding more function to the RPG IV compiler continues with
ILE RPG. These enhancements to the compiler include:
RPG compiler option Install option in 5722-WDS
ILE RPG IV 31
IBM System/36-Compatible RPG II 32
IBM System/38-Compatible RPG III 33
RPG/400 34
ILE RPG-IV *PRV 35