RPG IV Programming
This series introduces the users to RPG IV, the popular AS/400 and iSeries programming language. The users will learn about the history of the language, RPG IV specifications, file access and manipulation. After completing the courses in this series, the users will be able to write RPG IV programs using structured design and modular programming concepts.
This series is for programmers who will be writing programs in RPG IV. This online course contains 13 lessons and should take approximately 38 hours to complete.
Introduction to RPG
This course provides an overview of the RPG programming language and general programming concepts needed to begin learning to program in RPG IV and teaches you how to define terms used in RPG for accessing data, explain the use of programming specifications, and describe the program development cycle.
Getting Started with RPG
This course shows users how to write simple programs in RPG IV and teaches you how to create a simple RPG program, use comments in an RPG program, and explain how to use output editing techniques.
Defining Data
This course shows users how to define work fields, data structures, and other data items in RPG IV programs and teaches you how to select the appropriate data type, distinguish among program variables, literals, and constants, and explain data structures.
Arithmetic Operations
This course shows users how to perform arithmetic calculations in RPG IV programs and teaches you how to use addition, subtraction, multiplication, and division in a program, create free-form arithmetic expressions, determine the correct size to store arithmetic results, apply concepts to an example program, use EVAL statements for character assignment and conversion, and use built-in functions, arithemtic operations and indicators.
Flow of Control
This course shows users how to write programs in RPG IV using top-down, structured design and teaches you how to explain the use of loops, decision logic, and subroutines, and create a program that generates a report with subtotals.
Externally Described Files
This course shows users how to write programs in RPG IV to access AS/400 database files and teaches you how to distinguish among physical files, logical files, and field-reference files, describe the storage implications of numeric and character data types, and explain externally described printer files.
File Access and Record Manipulation
This course shows users how to read, write, and update records in RPG IV programs and teaches you how to distinguish between sequential and random input file access, identify I/O errors, and explain record-locking considerations in update procedures.
Interactive Applications
This course shows users how to define display files and how to use them to develop interactive applications and teaches you how to create display files to present interactive screens, identify DDS keywords, and read and write data files from interactive programs.
Tables and Arrays
This course shows users how to create, store, and access tables, and how to define and use arrays and teaches you how to create and access RPG IV tables, create and use multiple related tables for lookup, and create arrays and access array data.
Modular Programming
This course shows users how RPG IV programs can communicate with one another by passing data values and teaches you how to distinguish between dynamic and static binding, create programs that pass data, and explain the use of data areas.
Advanced Data Definition
This course shows users how to use a number of advanced RPG IV features to define data in ways that facilitate data manipulation and teaches you how to create and use complex data structures, identify and handle runtime errors, and manipulate data fields and characters within data fields.
Advanced Techniques
This course shows users how to write RPG IV programs that use subfiles and online help and teaches you how to recognize subfile record formats, load a subfile all at once or a page at a time, and create online help for a program.
Maintaining the Past
This course shows users how to recognize features and operations used extensively in earlier versions of RPG that are now considered obsolete but still supported and teaches you how to distinguish between compatibility and conversion issues, identify obsolete features from RPG II and RPG III, and explain the fixed-logic cycle and use of indicators.