iSeries-AS/400
RPG Subfile Programming

Course Code: ARG4

Description

iSeries-AS/400 RPG Subfile Programming is a self-paced, multimedia course providing comprehensive, practical training in the design and coding of subfile programs.

Upon completion you'll be able to:

Use Screen Design Aid to create and maintain display files that contain subfiles.
Create RPG subfile programs that allow users to scroll through selected data file records.
Create RPG subfile programs that allow users to fold and truncate records.
Create RPG programs that allow users to enter data into subfile records, use the DUP key, and update files.
Create RPG subfile programs that edit and verify user-entered data.
Create RPG programs that sort, initialize, clear, and delete subfiles.
Create RPG programs that use more than one subfile.
Create and use message subfiles that handle multiple messages.
Use techniques to improve subfile program performance.
Use variable-length subfiles.

Subfile Concepts
Subfile Record Format (SFLRCD)
Subfile Control Format (SFLCTL)
Subfile Size (SFLSIZ)
Subfile Page Size (SFLPAG)
Data Description Specifications
Positional and Keyword Notation
Comment Lines
File/Record/Field Hierarchy
Program Development Manager (PDM)
Screen Design Aid (SDA)
Managing Subfile Data
Reading Subfile Records
   READC and CHAIN
   FLNXTCHG Keyword
Writing Subfile Records
Managing Subfile Relative Record Numbers
Subfile Operations
Displaying a Subfile
Initializing a Subfile
Clearing a Subfile
Deleting a Subfile
Handling Multiple Subfiles
Scrolling Subfile Records
Using OS/400 Controlled Scrolling
SFLEND Keyword
"Page Wise" Scrolling
SFLRCDNBR Keyword
Subfile Applications
"Alpha Search" Inquiry
Data Entry Subfiles
Validity Checking
On-Line Batch Totals
Message Subfiles
SFLPGMQ and SFLMSGRCD
Selecting Messages for Display
SFLMSGKEY
Subfile Techniques
DUP Key Programming
Sorting Subfile Records
Removing Blank Subfile Records
Updating Subfile Records
Deleting Subfile Records
Variable Length Subfile Records
SFLDROP Subfile Drop
SFLFOLD - Subfile Fold

Audience
AS/400 programmers with experience in interactive RPG/400 programming.
Prerequisites
Workstation Operations
System Operations
RPG Programming
Interactive RPG Programming
Format
Self-Instructional
Materials
Fifteen Audio CDs
Student Text
Workbook
Interactive Media
Time Required
Approximately 15 Hours

Copyright © Vermillion Associates, 2006