English
+386 31 748 428 training@compedu.si

AS10

AS10: RPG IV Programming Advanced Workshop for IBM i

DURATION: 4 days

SCHEDULED DATES: TBD – Contact Us for more Information

PURPOSE

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 third in a series of three classes designed for programmers who want to learn to code using the IBM i ILE RPG IV language. A previous programming experience using RPG IV is mandatory before enrolling in this course. The student should have attended AS06/AS060 and AS07/AS070. 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. RPG III programmers should attend the Moving from RPG/400 to RPG IV for System i class (OE85/OE850) before taking this class. RPG III programmers should review the agenda carefully before they make a decision to attend this class.

Note: The term RPG/400 refers to both System/38 RPG as well as AS/400 RPG/400 (aka RPG III).

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

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/OL490:
•Use IBM i navigation tools, including:
-Use and prompt command line (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 print queues
•Use CL commands such as WRKJOB and DSPMSG
•Use Rational Developer for Power Systems (RDP) 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/AS060:
•Write RPG IV programs to produce reports
•Write simple RPG IV inquiry programs that interact with displays
•Compile RPG IV programs
•Review compilation listing and 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/AS070:
•Use OVERLAY and related data description specification (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 IBM i for New Users (OE98/OE980)
•System i Application Programming Facilities Workshop (OL49/OL490)
•RPG IV Programming Fundamentals for IBM i Workshop (AS06/AS060)
•RPG IV Programming Intermediate for IBM i Workshop (AS07/AS070) or have equivalent experience

Attendance at IBM i Application Development Using WDSC (OW870) is strongly recommended prior to attending this class.

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 application program interfaces (APIs) from RPG IV program

CONTENTS

1.Welcome and administration
2.Basic API programming
3.RPG IV features
4.ILE CEE API programming
5.Leveraging DB2 UDB database features
6.Advanced ILE topics
7.ILE error handling and condition handlers
8.Other RPG IV compiler features