This course describes how to define and work with the more complex data types that RPG supports. The course begins by describing how to define and work with variable-length data items. Run-time arrays are covered next. You will see how to define, initialize, modify, search, and sort a run-time array. The course then describes how to define and load two other types of arrays: compile-time and prerun-time arrays. This is followed by a discussion of RPG tables. You will see how to both define and work with tables. The course ends by describing multiple-occurrence data structures. You will see how to define a multiple-occurrence data structure and how to reference the data that it contains.
Approximate Study Time: 90 minutes
After completing this course, you should be able to:
- Define a variable-length data item
- Code an RPG program that uses variable-length data items
- Define a run-time array
- Define a compile-time array
- Define a prerun-time array
- Code an RPG program that processes an array
- Define a table
- Code an RPG program that processes a table
- Define a multiple-occurrence data structure
- Code an RPG program that processes a multiple-occurrence data structure
Using Variable-Length Data Items
Using Run-Time Array
Using Compile-Time and Prerun-Time Arrays
Using Multiple-Occurrence Data Structures
This course is intended for programmers new to the RPG programming language. It can also be taken by RPG III programmers who will be developing ILE RPG applications.
This course assumes that you are familiar with computer programming concepts. In order to satisfy this prerequisite, you should have some programming experience with another programming language.
This course also assumes that you have a working knowledge of basic IBM i concepts and facilities. You can satisfy this prerequisite by successfully completing the courses in the following series:
In addition, the course also assumes you familiar with IBM i programming concepts and facilities. You can satisfy this prerequisite by successfully completing the courses in the following series:
Finally, the course assumes that you have a basic understanding of RPG programming concepts. You can satisfy this prerequisite by successfully completing the previous courses in this series:
© Copyright 2023 Manta Technologies. All Rights Reserved.