Controlling Command and Program FLow This course also available online.
Author: Manta Technologies
Availability: Ships within 72 hours. SKU: 3102
Course Description: This course shows you how to control the flow of command execution within a program and how to pass control between programs and/or procedures.
The course first describes how to test conditions in a CL program and how to control the execution of commands based on the result of such a test. This discussion includes a description of the logic structures used in conditional processing and CL program excerpts that illustrate the use of conditional processing.
The course then describes how to modularize an application. You will see the reasons for modularizing an application and the terminology used to discuss a modularized application. The course shows how parameters can be used to share data between modules, allowing a certain level of communication between programs and/or procedures. The course then considers the special coding requirements of a modularized application.
After completing this course, you should be able to: · Code CL commands to implement an IF structure · Code CL commands to implement an IF/ELSE structure · Code CL commands to implement a DO WHILE structure · Code CL commands to implement a nested IF structure · Code a CL subprogram or procedure to perform a specified function · Code a CL program that calls a subprogram or a procedure · Use parameters to communicate between programs
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 OS/400 concepts and facilities. You can satisfy this prerequisite by successfully completing the courses in the following series:
· Using an iSeries System
The course also assumes that you have a basic understanding of CL programming concepts and know how to declare and use variables in a CL program. You can satisfy these prerequisites by successfully completing the earlier courses in this series:
· Introduction to CL Programming
· Variables and Built-In Functions
Course Outline: Conditional Processing Overview Implementing Logic Structures Developing a Modular Application Coding Calling Programs and Procedures Coding Subprograms and Called Procedures
Course Details:
Length:
60 minutes
Materials:
A Student Reference Guide is available for this series
Publisher:
Manta
Controlling Command and Program FLow This course also available online.