IBM i(AS/400)RPG III Programming
IBM i (AS/400) Programming
1. Introduction to RPG
* RPG Specification sequence ( H, F, E, L, I, C, O )
* RPG Program cycle
2. Numeric Operations
* Data Definition
* Truncation and Field Sizes
* Rounding
* Assignment with Z-ADD and Z-SUB
3. Character Operations
* Data Structures
* MOVE and MOVEL Operations
* Figurative Constants
4. Control Logic in RPG
* Structured Programming Concepts
* Selection Operations
* Iteration Operations
* DOWxx, DOUxx, DO
* Loops and Early Exits
* LEAVE and ITER
* Unstructured Operations
* GOTO and CABxx
* Subroutines
* Specific Scope Terminators
* ENDIF, ENDDO, etc.
5. Program Described Files Externally Defined Files
* AS/400 Approach to Database Files
* Defining Physical Files with DDS
* Defining Logical Files with DDS
* RPG Programming with Externally Defined Files
* Using Field Reference Files
* Externally Defined Printer Files
6. File Access and Record Manipulation
* Sequential Operations
* Random Access
* Composite Key Processing in RPG
* Inserting New Records in Files
* Updating and Deleting Records in Files
* Record Locking
7. Tables and Arrays Processing
* Defining Tables in RPG
* Compile Time Tables
* Pre-Runtime Tables
* Table Look-Ups
* Multiple Related Tables
* Changing Table Values
* Arrays
* Calculations with Arrays
* Array Look-Ups
* The Indicator Array
* Output with Arrays
8. Inter Module/Program Communication
* Parameter Passing
* Reading and Writing to Data areas
* Data Queues
* Message Sending
9. Interactive Programming
* Comparing Batch and Interactive Programs
* DDS for Display Files
* A Sample File Maintenance Program
* Screen Design Aid
* Subfile Coding
* Subfile loading techniques Load All, Elastic and page = size types
10. Exception and Error Handling
* File Information Data Structure
* File Information Error codes
* Program Status Data Structure
* Program Status Error codes
* Program Status Error codes