Duration
5 days
Delivery Type
- Classroom with hands-on
Prerequisites
Before attending this course, the student should be able to:
- Use a Windows based PC
- Run PC applications using menus, icons, tool bars, etcetera
- Write a simple program in another high level language (for example, COBOL, BASIC or RPG II)
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 AS/400 output queues and spool files.
Use basic CL commands such as WRKJOB and DSPMSG
Students must have attended these courses:
- IBM iSeries System Operation & Management
Course Content
This course is the beginner class designed for programmers who are new to RPG ILE (RPG IV). The student should have had attended at least an introductory course to programming such as one of those available at technical colleges. The student will not be taught the concepts of programming. This course is not designed for RPG III (RPG/400) programmers who want RPG ILE skills.
Note: This course focuses entirely on the latest features of the RPG ILE for Version 5 compiler and the techniques that this compiler provides.
Previous techniques and the maintenance of programs written using legacy techniques are not covered in the classroom. Some additional material and the bibliography will assist the new RPG ILE programmer in the maintenance of legacy applications.
DAY 1
Basic of RPG ILE
- RPG ILE Introduction
- Program Specification
- Introduction of Operation codes
- Manipulating data in calculation
- Structure Programming:
- Selection (IF, SELECT, CASE)
- Looping (DO, DOW, DOU, FOR)
- Subroutines
- Using Indicators
DAY 2
Accessing the DB2 Database using RPG ILE
- File specifications for DB2 database
- Database operation handling in RPG ILE
- Using program debugger
- Determine program compilation error with compilation listing
DAY 3
Arrays, Data Structures & Sub program
- Using arrays.
- Using Data Structures & Data Area.
- Creating sub program using RPG ILE
- Managing exceptions & handling errors
DAY 4
RPG ILE Report
- Designing report using Report Layout Utilities (RLU)
- Generate report using RPG ILE programs
DAY 5
Subfile Management
- Introduction to Subfile
- Creating subfile display
- File maintenance program using subfile
Programme scope, delivery arrangements and suitability are confirmed during enquiry.