EIEIOTECHNOVATION
← Training programmes

EIEIO / PROGRAMMING & DEVELOPMENT

Control Language Programming

Course outline

3 days

Duration

3 days

Course Description

Upon completion of the course, participants should be able to write interactive and batch CL

programs that incorporate the following:

  • Execution of a sequence of high level language applications programs
  • Automatic handling of exceptions, errors and inquiry messages Interrogation and changing of
  • job attributes and system values
  • Conditional execution and branching within a CL program Arithmetic and logic operations
  • Execution time prompting of users within a CL program Data areas and data queues to
  • communicate among jobs on the system
  • Message communication between users and programs
  • Create user defined commands to run applications
  • Write your own utility programs to handle repetitive and one time system control and
  • management tasks
  • Write never ending batch programs that become active when work arrives
  • Describe the parameters on the CRTCLPGM command and the parts of a Control Language
  • compile listing

Pre-Requisite

Participants should be able to:

  • Perform basic system operations, such as using PDM, SEU, managing libraries and library lists and displaying spooled output on a workstation
  • Send and receive messages Code (DDS) and create simple physical, logical and display files
  • Enter, compile and run a CL program, given the source for the program
  • Describe the difference between an interactive and batch job
  • Use the submit job (SBMJOB) command
  • Describe the following AS/400 object types: job description, job queue, output queue and library

Method

  • Hands-on oriented training with one workstation for each participant.
  • Lecturer-assisted and use of computer-generated slides for presentation.
  • Training materials that include notes with key points and graphics layout.

Target Audience

  • Upgrade users to AS/400 from the IBM mid-range System/3X series
  • Programmers, system programmers and administrators whose job requires them to write CL/400
  • Programs

What You Will Learn

Write CL programs to perform various system and application control functions. Write intermediate level interactive and batch CL programs, user commands and CL programs that functions as user tools (programs that user the output of display commands as input).

Module 1: Control Language Programming

  • CL Programming Concept
  • Intermediate/Advance CL Programming
  • CL Program Keywords & Command Source Definition
  • Program Structure
  • Commands
  • Built-in Functions, External Attributes
  • Command Parameter Prompting
  • Data Areas & System Values Retrieval
  • System Reply List
  • User Defined Commands
  • Compilation & Debugging
  • Using Variables
  • Passing Parameters
  • Program to Program Communication
  • Message Trapping, Handling, Monitoring and Programming
  • Exception Handling and Error Recovery
  • Message Subfiles
  • Using Database Files in CL Programs
  • Submitting Jobs in Batch
  • Create Menus
  • Program Assignments

Programme scope, delivery arrangements and suitability are confirmed during enquiry.