Verhoef Training

11 Kingsmead Square, Bath, BA1 2AB.
Tel: 01225 339705 Fax: 01225 339671




RPG IV Programming




AUDIENCE:   Programmers responsible for writing and/or maintaining RPG IV code. Part one is designed for programmers new to RPG. Part two may be attended by programmers with some experience of RPG IV who need to learn about more advanced features in RPG IV.

PREREQUISITES:   Before taking this course, a student should:
- Have a basic knowledge of the development environment (WDSC/RSE/Rdi or PDM/SEU)
available through i for Application Developers and/or WDSC/RSE/RDi for Programmers.
- Know about the concepts of externally described files (i.e. DDS or SQL)
available through i for Application Developers.
- Be familiar with the system facilities (menus, CL commands, jobs, etc)
available through i for Application Developers.
- Have a basic knowledge of programming (sequence, loops, subroutines etc.)

DURATION:   5 days. Hands on.

OBJECTIVES:   On completion of the course, participants should be able to code and debug simple RPGIV programs, both interactive and batch. Specifically the student will understand:
- How data is stored and manipulated by RPG
- RPGIV...coding structure, indicators, operation codes, etc.
- Record retrieval operations
- Workstation and printer file handling
- Tables and arrays
- Program calling and parameter passing.
- Structured programming techniques.
- Data structures and data areas.
- Multiple occurrence data structures.
- Subfiles.
- Error Handling.
- Debugging.

COURSE CONTENT:  

Part I - 3 days
A brief history
Introduction
Coding RPG
Structured Operation Codes
Indicators and BIFs
Using Files in RPG
Interactive Debug
More Features and Screen Handling
More File Handling
Legacy RPG

Part II - 2 days
Advanced Data Declarations
  Other Data Types
  Arrays
  Data Structures
  Qualified Data Structures
  Data Structure Arrays
  Data Areas
  Multiple Occurrence Data Structures
  Reserved values

More Operation Codes
Subroutines & Modular Design
Call with Prototype
Subfiles
Date and Time Manipulation
Error Handling
More BIFs
Advanced Subfiles


PT08/01

© 2007 Verhoef Training, Ltd.