Manta alt

YOUR IBM i TRAINING SOURCE

You must allow the browser to execute JavaScript programs if you want to view product information. If your browser is set up to execute JavaScript programs, the problem is that the product ID was incorrect. Use the menu bar above to find the desired product.

Overview

Audio

This course describes how to create an interactive application.

The course begins by describing the role a display file plays in an interactive application and how a display file is created. You will see the data description specifications (DDS) source statements most commonly used for a display file. The course then considers the requirements for an interactive CL program. You will see how to declare a display file in a CL program and how to display data at and receive data from a workstation.

You will also see the requirements for a multiple request terminal (MRT) program. An MRT program is one that communicates with multiple workstations. The course ends by describing how to override certain attributes in a display file.

Approximate Study Time: 2 hours

Objectives

After completing this course, you should be able to:

  • Interpret the DDS statements used to define a display file
  • Code a CL program that uses a display file to communicate with a workstation user
  • Code a multiple request terminal (MRT) CL program
  • Override certain attributes specified in a display file

Topic Outline

Creating a Display File

Coding an Interactive Program

Working with Multiple Workstations

Overriding Display File Parameters

Audience

This course is intended for anyone who will be writing CL programs. This audience consists primarily of application programmers, but may include other people who use CL commands, such as system operators.

Prerequisites

This course assumes that you have a working knowledge of basic IBM i concepts and facilities. You can satisfy this prerequisite by successfully completing the courses in the following series:

The course also assumes you familiar with IBM i programming concepts and facilities. You can satisfy this prerequisite by successfully completing the courses in the following series:

The course also assumes that you have a basic understanding of CL programming concepts, know how to declare and use variables in a CL program, and know how to control the flow of execution in a CL program. You can satisfy these prerequisites by successfully completing the first two courses in this series: