Interskill Learning Mainframe Training

770-872-4278

The Online Mainframe Training Specialists
Search   Course Catalog   Live Chat!  
Return to Catalog Home     Return to Curriculum Listing

Load by Page and Maintenance Subfiles

Duration

6 hours

Overview

The Load by Page and Maintenance Subfiles course explains how to code by using the advanced subfile facilities to create high-quality and high-usability programs.

Audience

Personnel requiring knowledge of subfile programming

Prerequisites

Completion of the courses Subfile Programming Part 1 and Part 2, and knowledge of data processing, programming concepts, and the iSeries operating system

Objectives

    After completing this course, the student will be able to:
  • Identify a Load by Page subfile and a File Maintenance subfile
  • Identify the DDS used to create a Load by Page subfile
  • Recognize the RPG code that supports a Load by Page subfile
  • Recognize the DDS used to create a File Maintenance subfile
  • Recognize the RPG code that supports a File Maintenance subfile

Course Content

RPG to Maintain Order Lines

The RPG and DDS Used to Maintain Order Details in a Subfile
Adding a New Item to an Order List
Deleting an Order Line

RPG to Update the Database

How Data is Updated on the ORDERS and LINES Files

Description of File Load by Page Subfile

Examine an Example of a File Load by Page Subfile
List Function
DDS of Subfile Formats

DDS for File Load by Page Subfile

The DDS for the Subfile and Record Formats
Conditioning Keywords and Indicators

RPG Files and Subroutines

Files and Subroutines Used in the Pick List/ Inquiry Program
Supporting RPG Code

RPG to Load Subfile Page

The Workings of the GETPAG Subroutine Called from *INZSR
Adding Records to the Subfile
Displaying “More...” or “Bottom”
Operation of an Example Subfile

RPG to Process Subfile Input

How Enter, F3, and Subfile Selections of 1 and 5 Are Processed
Using a Loop to Process the User’s Response

RPG to Process Subfile Rollup

When and How the Program Processes a Subfile Rollup Request

Description of File Maintenance Subfile

Examine an Example of a File Maintenance

DDS for File Maintenance Subfile

DDS for the Display File
The Keywords SFLRNA, SFLNXTCHG, and SFLMSG

RPG to Display an Order

The RPG Code to Read and Display the File Maintenance Subfile
Flow of Control

Load by Page and Maintenance Subfiles Mastery Test

Looking for more information about Interskill Learning Products?
Contact our Learning Consultants or call us at 770-872-4278