System i (AS/400, iSeries, i5) Introduction to Subfile Programming

Course Details:

Course code: ISRPS View/Download data sheet (PDF)
Duration: 1 Day Book Course
Price: £395 Return to Courses

Course Outline:

Subfile Concepts
Loading Techniques (Load ALL, Expanding, Single Page)
Introduction to SFLxxx DDS Keywords
Declare Subfile(s) to an RPG program & control relative record numbers
Design & code a structured ‘Load All’ Subfile Program
Use page control keywords such as SFLSCROLL, SFLRCDNBR
Change attributes of Subfile content when required
Process & validate Subfile input
Use Hidden fields in the Subfile

Pre-requisites:

A basic understanding of RPG programming as covered in the RPG programming course (ISR4P).

Course content:

Introduction to Subfiles

  • Describe a Subfile and what it is used for
  • Define the two main Subfile formats
  • Understand the structure of a Subfile
  • Differentiate between Subfile loading techniques:
    Load All, Expanding, Single Page

Subfile DDS

  • Understand Basic Subfile DDS coding
  • Understand  & use the main Subfile control keywords:
       SFLCTL,
       SFLDSP,
       SFLDSPCTL,
       SFLCLR,
       SFLEND,
       SFLSIZ,
       SFLPAG
  • Include error messages and conditioned attributes:
       SFLMSG,
       SFLMSGID,
       ERRSFL    

 “Load All” Technique

  • Understand the main sub-routines required in a Subfile program:
        CLEAR,
        LOAD,
        PROCESS
  • Know how to define a Subfile to an RPG program
  • Define and use Relative Record Numbers for a Subfile
  • Code a ‘load all’ structured Subfile program
  • Control which page of data is shown when Subfile is output to display:
         SFLRCDNBR,
         SFLSCROLL
  • Control which records are read during Subfile processing:
         CHAIN,
         READC
  • Use DDS Keyword SFLNXTCHG

 

Additional DDS Keywords

  • All Subfile format keywords
  • All Subfile Control format keywords
  • How to code multiple Subfiles within a program

 

Follow on Courses:

To enhance the knowledge gained on this course you may want to attend the Further Subfiles course (ISRST). To further your RPG programming skills you may want to attend the Advanced RPG4 Programming course (ISR4A). The Power RPG with SQL course (ISSQE) course covers making the Subfile build very efficient and flexible. Also consider the Rational Developer for i (ISRDI) course.

Schedule:       

  2017       2018              
Public schedule Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug
Northampton   12     18      19        
                                                             Dates on request – Please call or email for details

 

Schedule:

2017 / 2018
 
Sep  
Oct 12
Nov  
Dec  
Jan 18
Feb  
Mar  
Apr 19
May  
Jun  
Jul  
Aug  
Dates on request – Please call or email for details

 

Book course:

ISRPS Introduction to Subfile Programming booking form
Please double check this!
Press 'Submit' below to send your reservation to Sierra. We will confirm the booking in due course. Thank you.
Sending