RPG III (RPG/400) to RPG IV and ILE

Course:  RPG3TO4
Duration:  4 Days
Level:  II
Course Summary

The course introduces RPG IV and ILE from the point of view of experienced RPG III (RPG/400) programmer. There are extensive hands-on exercises.

« Hide The Details
Topics Covered In This Course

RPG IV 101

  • Background
  • Conversion Options
  • Format and Limit Changes
  • Data Types
  • H-Spec
  • F-Spec
  • D-Spec (Overview)
  • C-Spec
  • I-Spec and O-Spec
  • Free form RPG

D Specs

  • Data Structures
  • Arrays
  • Stand Alone Fields
  • Replacing RPG Indicators
  • The Indicator Data Structure
  • Qualified Data Structures
  • Data Structure Arrays


  • Arithmetic Expressions
  • Character Expressions
  • Logical Expressions
  • Precision Rules

Built In Functions (BIFs)

  • Using BIFs
  • Types of BIFs

Dates, Times and Timestamps

  • Defining
  • Moving
  • Calculating Durations

Prototyped Calls

  • Prototypes
  • Structure
  • Useful Keywords
  • Procedure Interface

Subprocedures (Part 1)

  • P-Spec
  • Structure
  • Subprocedure Vs Subroutine

Introduction to ILE

  • Static Binding Vs Dynamic Binding
  • Bind By Copy
  • Bind By Reference
  • Service Programs

Subprocedures (Part 2)

  • Subprocedures Vs Called Programs
  • NOMAIN Modules

ILE - Other Topics

  • Binding Directories
  • Binder Language
  • Activation Groups
What You Can Expect

On completion of the course, participants should be able to take full advantage of the benefits of RPG IV and ILE.

Who Should Take This Course

Experienced RPG III (RPG/400) programmers.

Recommended Prerequisites

Before taking this course, a student should:

  • Have at least six months experience of programming in RPG III
  • A knowledge of the modern development environment (WDSC/RSE/ Rdi) would be advantageousavailable through WDSC/RSE/RDi for Programmers
« Hide The Details
Related Courses
Code Course Title Duration Level
SQL – Using Embedded SQL in RPG IV
2 Days
RPG IV Programming
5 Days
RPG Meets The Web
1 Day
RPG ILE Programming Advanced Topics
4 Days

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.

Schedule For This Course
There are currently no public sessions scheduled for this course. We can schedule a private class for your organization just a couple of weeks from now. Or we can let you know the next time we do schedule a public session.
Notify me the next time this course is confirmed!
Can't find the course you want?
Call us at 800.533.3893, or
email us at [email protected]