iSeries (AS/400) Introduction to Subfile Programming

Course Details

  • Course code: ISRPS
  • Duration: 1 days
  • Maximum delegates: 8
  • Start time: 09:30
  • Price: £545

Jump to:

Actions:

Introduction

This course is intended for RPG programmers either coding with RPGLE or RPG methods developing applications which require multiple records to be displayed, paged through and interfaced with other applications, known as subfiles. The course covers the definition of a data subfile. Error message subfile and all subfile DDS keywords. By the end of the course you will have coded a load-all, expanding, single page and data entry subfile program and be able to identify and choose the right subfile for an application.

What you will learn

On completion of this course, you will be able to:

  • Subfile Concepts.
  • Loading Techinques (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 SELSCROLL, SFLRCDNBR.
  • Change attributes of Subfile content when required.
  • Process & validate Subfile input.
  • Use Hidden fields in the Subfile.

Who should attend

RPGIV or RPG/400 programmers developing and maintaining subfile applications.

Pre-requisites

Delegates should attend the RPGIV Programming (ISR4P) or RPG/400 Programming (ISRPP) course followed by a period of practical work in RPG development prior to attending this course, or have equivalent hands on experience.

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 betwenn Subfile loading tehcniques:
    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 conditional 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 Keywords

  • 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 Subfile course (ISRST).
    To further your RPG programming skills you may want to attend the Advanced RPGIV 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 (RDi) course.

    Schedule

    Public schedule Nov 24 Dec 24 Jan 25 Feb 25 Mar 25 Apr 25 May 25 Jun 25 Jul 25 Aug 25 Sep 25 Oct 25

    We can run this course just for you - at our locations, a local hotel, or on your site. Please ask for details.



    Top | Home


    Tel. 0208 648 4000  Email: info@atstraining.co.uk ATS Automated Training Systems Ltd. The Old Bakery, 55a Belmont Road, Wallington, Surrey, SM6 8TE, United Kingdom