Input and File Load Subfiles


Duration

4 - 6 hours

Overview

Audience

Personnel requiring knowledge of Subfile Programming.

Prerequisites

Knowledge of data processing, programming concepts, and the AS/400 Operating System. Subfile Programming Course 1.

Objectives

After completing this course, the student should be able to:
  • Detail a Data Input subfile and a File Load subfile.
  • Outline the DDS used to create a Data Input subfile and a File Load subfile.
  • Identify the RPG code that supports a Data Input subfile and a File Load subfile.

Course Content

Unit 1 INPUT AND FILE LOAD SUBFILES PRETEST

Unit 2 DESCRIPTION OF DATA INPUT SUBFILE

  • Examine an Example of a Data Input Subfile
  • Define a Data Input Subfile

Unit 3 DATA INPUT SUBFILE KEYWORDS

  • The Keywords Used on the Data Input Subfile Control Format:
    • SFLPAG
    • SFLSIZ
    • SFLINZ
    • SFLEND
    • SFLDSP
    • SFLDSPCTL

Unit 4 RPG FOR DATA INPUT SUBFILE

  • The RPG Code to Initialize and Display the Subfile and Process the Keyed Data

Unit 5 RPG AND SUBFILE RECORD NUMBER

  • How a Subfile is Processed Using Record Number

Unit 6 DESCRIPTION OF FILE LOAD SUBFILE

  • Examine an Example of a Data Load Subfile

Unit 7 FILE LOAD SUBFILE KEYWORDS

  • The Keywords Used on the File Load Subfile Control Format:
    • SFLPAG
    • SFLSIZ
    • SFLDSP
    • SFLDSPCTL
    • SFLCLR
    • SFLEND

Unit 8 RPG TO PREPARE SUBFILE

  • How a File Load Subfile is Cleared of Data
  • Preparing a Subfile
  • Relative Record Number
  • Footer Record Format
  • Loading the Subfile
  • Clearing the Subfile

Unit 9 RPG TO LOAD AND DISPLAY SUBFILE

  • The RPG Code Used to Load and Display the Subfile
  • Loading the Subfile
  • Displaying the Subfile
  • Reloading the Subfile

Unit 10 INPUT AND FILE LOAD SUBFILES MASTERY TEST

 
© Copyright 2007. All rights reserved. Interskill Learning, Inc.