logo

IBM Systems Power Systems IBM i Course

course overview

download outline

Select Country and City to View dates & book now

Overview

This course teaches additional skills and techniques to programmers who can already write comprehensive RPG IV programs.

This class offers a comprehensive discussion of 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 IBM i RPG IV compiler.

Audience

This course is the second in a series of two classes designed for programmers who want to learn to code using the IBM i ILE RPG IV language. Previous programming experience using RPG IV is mandatory before enrolling in this course. The student should have attended RPG IV Programming Fundamentals Workshop for IBM i (AS06G).

Previous techniques and the maintenance of programs written using legacytechniques are not covered in the classroom.

Skills Gained

  • Use address pointers and user spaces in RPG IV programs
  • Write and maintain display programs using subfiles
  • Develop ILE modular objects and package them in service programs
  • Use the IBM i debugger with RPG IV programs
  • Explain the behavior of error handling and percolation in ILE
  • Code an ILE error handling program
  • Call application program interfaces (APIs) from RPG IV program
  • Use C functions in RPG IV programs
  • Parse XML in RPG IV programs

Prerequisites

You must have attended these courses (or have equivalent experience):

  • Introduction to IBM i for New Users (OE98G)
  • IBM i Technical Introduction (OL4AG)
  • RPG IV Programming Fundamentals Workshop for IBM i (AS06G)

You should be able to:

  • Use a Windows-based PC
  • Run PC applications using menus, icons, tool bars, and so forth

Outline

Day 1

  • Unit 1 - Welcome and administration
  • Unit 2 - Using subfile displays Exercise 1 - Inquiry subfile with search
  • Exercise 2 - Modularize vendor subfile search Exercise 3 - Page + 1 and PageDown Exercise 4 - Add PageUp
  • Exercise 5 - Add SFLPAG = SFLSIZ Exercise 6 - Add maintenance

Day 2

  • Unit 2 - Using subfile displays (continued)
  • Exercise 6 - Add maintenance (continued) Unit 3 - Using the debugger
  • Exercise 7 - Debugging an RPB IV program
  • Unit 4 - ILE error handling and condition handlers Exercise 8 - Enhancing the condition handler

Day 3

  • Unit 5 - Basic API programming
  • Exercise 9 - Using system APIs I Exercise 10 - Using system APIs II Unit 6 - Using RPG Compiler directives
  • Exercise 11 - Using conditional compiler directives
  • Unit 7 - Using pointers, user spaces, and dynamic memory Exercise 12 - Using list APIs

Day 4

  • Unit 8 - Using C functions
  • Exercise 13 - Using C IFS functions Exercise 14 - Using C library functions Unit 9 - Using XML in RPG IV
  • Exercise 15 - Enhancing the xml-into program

Talk to an expert

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. Its a cost effective option. One on one training can be delivered too, at reasonable rates.

Submit an enquiry from any page on this site and let us know you are interested in the requirements box, or simply mention it when we contact you.

All $ prices are in USD unless it’s a NZ or AU date

SPVC = Self Paced Virtual Class

LVC = Live Virtual Class

Please Note: All courses are availaible as Live Virtual Classes

Trusted by over 1/2 million students in 15 countries

Our clients have included prestigious national organisations such as Oxford University Press, multi-national private corporations such as JP Morgan and HSBC, as well as public sector institutions such as the Department of Defence and the Department of Health.