RPG III (RPG/400) to RPG IV and ILE
Duration
4 daysIf attendees are not already familiar with the modern development environment you may wish to run WDSC/RSE/RDi for Programmers in conjunction with this course
What the Course Covers
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.>How Can You Apply the Skills You Will Learn?
On completion of the course, participants should be able to take full advantage of the benefits of RPG IV and ILE.Who Should Attend
Experienced RPG III (RPG/400) programmersPrerequisites
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 advantageous
available through WDSC/RSE/RDi for Programmers
Agenda
The following topics will be covered- 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
- Expressions
- 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