Books by Bryan Meyers

Programming in RPG IV

Control Language Programming for IBM i

RPG IV Jump Start

Power Tips for RPG IV

VisualAge for RPG by Example

 
Interactive Programming with RPG IV Print E-mail

The Interactive Programming with RPG IV workshop presents RPG IV concepts specifically for interactive display applications. The material in this workshop will cover basic display file interaction, as well as subfiles, from start to finish.


Recommended schedule: 4 day lab workshop


Who Should Attend
This class is appropriate for existing RPG IV programmers who need to build interactive applications that use DDS-defined display files and subfiles.


Prerequisites
To successfully complete this course, students should have completed the following courses, or have equivalent knowledge/experience:

  • IBM i Concepts and Programming Tools
  • Introduction to RPG IV Programming

Previous knowledge of another computer language may be helpful.


What You Will Accomplish
At the end of the course, students will be able to:

  • Use RPG IV operation codes that deal with interactive programming
  • Use externally described database files in a program
  • Understand, enter and edit Data Description Specifications (DDS) for display files
  • Use Screen Design Aid or WebSphere Development Studio Client to design a display
  • Build a menu
  • Understand database record locking issues
  • Pass parameters between programs in an application
  • Build a simple interactive application to perform file maintenance
  • Use a file information data structure
  • Understand the use and basic concepts associated with subfile programming
  • Use specialized DDS keywords and message files to report error messages
  • Use DDS windowing keywords to enhance displays
  • Understand the use and basic concepts of User Interface Manager (UIM)


What You Will Receive
Each student receives:

  • Custom printed handout, containing class notes
  • Completion certificate

Course Outline
The class covers these topics:

  • RPG Background
  • Specification Overview
  • Externally Described Files
  • Using Screen Design Aid
  • Display File DDS
  • Enabling Function Keys
  • General Requirements for Interactive Programs
  • Cursor Positioning Techniques
  • A Simple File Maintenance Program
  • Handling Errors
  • Using the File Information Data Structure
  • Using the Program Status Data Structure
  • Eliminating Record Locking Problems
  • Modular Programming and Parameters
  • Displaying Messages
  • Understanding  DDS Windows
  • Introduction to Subfiles
  • Defining Subfiles
  • Subfile Loading Techniques
  • Using Subfiles for Data Entry
  • Introduction to User Interface Manager


Hands-on Labs

  • Creating a Display File with Screen Design Aid
  • A Simple File Maintenance Program
  • A Modular File Maintenance Application
  • Using Windows
  • File Maintenance Using Subfiles