Synopsis
RPG IV Programming: Advanced Data Definition shows users how to use a number of advanced RPG IV features to define data in ways that facilitate data manipulation.

Audience
This course is for programmers who will be writing programs in RPG IV.

Time
4 hours

Product Code: RPGI11
After completing RPG IV Programming: Advanced Data Definition, the user should be able to:
Create and use complex data structures
Identify and handle runtime errors
Manipulate data fields and characters within data fields

Data Types  
Data Types and Time
Pointer Data Types

LIKE and Data Structures  
LIKE (Field Definitions)
Multiple-Occurrence Data Structures

More Data Structures  
File Information Data Structures
Program Status Data Structures

Field Inspection  
%SIZE through %ELEM
TESTN and TEST

Character Field Inspection  
Scan a string for characters
Check a string for characters

Field Character Manipulation  
Trim blanks from a string
Translate characters within a string

A typical course has the following features:
Exercises that allow users to practice in the real application
A file containing the text of the exercises
Simulations that allow users to practice course skills, even if they don't have access to the real application
A glossary
A Skill Assessment

Experience as an AS/400 end user
RPG IV Programming: Introduction to RPG (RPGI01)
RPG IV Programming: Getting Started with RPG (RPGI02)
RPG IV Programming: Defining Data (RPGI03)
RPG IV Programming: Arithmetic Operations (RPGI04)
RPG IV Programming: Flow of Control (RPGI05)
RPG IV Programming: Externally Described Files (RPGI06)
RPG IV Programming: File Access and Record Manipulation (RPGI07)
RPG IV Programming: Interactive Applications (RPGI08)
RPG IV Programming: Tables and Arrays (RPGI09)
RPG IV Programming: Modular Programming (RPGI10)

AS/400® is a registered trademark of International Business Machines Corporation.