Duration
4 days
Course Overview
This course teaches programmers who can write comprehensive RPG IV programs using the System i RPG IV compiler additional skills and techniques.
This class is comprenensive exposure to some of the advanced features and functions of RPG IV. This class is designed to enable an experienced RPG IV programmer to develop and maintain RPG IV programs of an advanced level using the latest features and techniques available in the compiler.
Abstract
This course teaches programmers who can write comprehensive RPG IV programs using the System i RPG IV compiler additional skills and techniques.
Audience
This course is the third in a series of three classes designed for programmers who want to learn to code using the System iILE RPG IV language. A previous programming experience using RPG IV is mandatory before enrolling in this course. The student should have attended AS06/S6197 and AS07/S6198. Students who have attended S6126 also meet the prerequisites for this course.
This class is not designed for RPG III programmers who want to learn RPG IV. Previous techniques and the maintenance of programs wirtten using legacy techniques are not covered in this classroom.
Pre-requisites
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 i5/OS navigation tools including: Use and prompt CL commands and Use online Help
- Manage output using WRKSPLF and related commands
- Perform basic problem determination using DSPMSG, DSPJOB, and so forth
- Use and display print queues
- Use CL commands such as WRKJOB and DSPMSG
- Use Websphere Development Studio Client (WDSC) or Program Development Manager (PDM) and Source Entry Utility (SEU) 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 programs to produce reports
- Write simple RPG IV inquiry programs that interact with displays
- Compile RPG IV programs
- Review compilation listing, find and correct compilation errors
- Maintain existing applications written in the RPG IV 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 System i for New Users (OE98/S6108)
- Application Programming Facilities Workshop for System i (OL49/S6149)
- RPG IV Programming Fundamentals for System i Workshop (AS06/S6197)
- RPG IV Programming Intermediate for System i Workshop (AS07/S6198)
or have equivalent experience
Attendance at Developing Applications Using WDSC (AS86/S6586) is strongly recommended prior to attending this class.
Course Objective
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 behaior of error handling and percolation in ILE
- code anILE error handling program
- call APIs from RPG IV programs
- describe how to use CGI in an RPG IV application
Key topics
- Basic API Programming
- RPG IV features
- Leveraging DB2 UDB database features
- Advanced ILE topics
- ILE error handling and condition handlers
- ILE CEE API programming
- Basic Eeb enablement
Remarks
This class is the third of three classes designed to develop RPG IV programmers. It is part of the iSeries programming curriculum to support the RPG IV Version 5 compiler. Below are others that you should attend to enhance your skills using the RPG IV language after you have completed this course. Please contact your local IBM Education Center regarding the availability of these classes in your area:
- S6586 - iSeries Application Development using WDSC V5 for iSeries
- S6137 - Accessing the DB2 UDB for iSeries Database Using SQL
- S6138 - Developing iSeries Applications Using SQL
- S6139 - DB2 UDB for iSeries Database Advanced Programming
Programme scope, delivery arrangements and suitability are confirmed during enquiry.