Description |
This course teaches programmers who can write comprehensive RPG IV programs using the iSeries RPG IV compiler (Version 5), additional skills and techniques.
This class is a comprehensive exposure to some of the advanced features and functions of RPG IV for Version 5 as well as the iSeries. This class is designed to enable an experienced RPG IV (Version 5) programmer to develop and maintain RPG IV programs of an advanced level using the latest features and techniques available in the Version 5 compiler. |
Prerequisites |
Before attending this course, the student should be able to:
- Use a Windows-based PC
- Run PC applications using menus, icons, tool bars, and so forth
The following skills are taught in OL49/S6149:
- Use basic OS/400 navigation tools including:
- Use and prompt CL commands
- Use online Help
- Manage output using WRKSPLF and related commands
- Perform basic problem determination using DSPMSG, DSPJOB, and so
forth
- Use and display iSeries print queues
- Use basic CL commands such as WRKJOB and DSPMSG
- Use the Program Development Manager, Source Entry Utility or CODE to
create and maintain RPG IV source members
- Create and maintain physical and logical files
The following skills are taught in AS06/S6197:
- Write RPG IV version 5 programs to produce reports
- Write simple RPG IV version 5 inquiry programs that interact with
displays
- Use the editor to enter and modify source programs.
- Compile RPG IV programs
- Review compilation listing, find and correct compilation errors
- Maintain existing applications written in the RPG IV (version 5)
language
- Use the Debugger tool to determine the cause of incorrect results
- Use many popular RPG IV Built-in Functions
The following skills are taught in AS07/S6198:
- Use OVERLAY and related DDS keywords to develop efficient interactive
programs
- Write interactive programs that support inquiry of subfiles
- Write interactive programs that support maintenance of subfile records
- Use arrays and data structures in RPG IV programs
- Develop RPG IV programs that anticipate and manage common errors and
exceptions
- Use prototyping to call other programs
- Write RPG IV subprocedures
- Write ILE modules and include those modules in program objects using
bind by copy and bind by reference
Students must have attended these courses prior to attending this class:
- Introduction to iSeries for New Users (OE98/S6108)
- iSeries Application Programming Facilities Workshop (OL49/S6149)
- iSeries RPG IV Version 5 Programming Fundamentals Workshop
(AS06/S6197)
- iSeries RPG IV Version 5 Programming Intermediate Workshop
(AS07/S6198) or have equivalent experience
Attendance at CODE/400 - Basic (AS12/S6186) is strongly recommended but not mandatory. |
Objectives |
After completing this course, you should be able to:
- Use address pointers and user spaces in RPG IV programs
- Write database triggers in RPG IV
- Develop ILE modular objects and package them in service programs
- Explain the purpose of ILE Activation Groups
- Explain the behavior of Error Handling and Percolation in ILE
- Code an ILE Error Handling program
- Call iSeries APIs from RPG IV programs
- Describe how to use CGI in an RPG IV application |