Variables and Built-In Functions This course also available online.
Author: Manta Technologies
Availability: Ships within 72 hours. SKU: 3101
Course Description: This course describes how to code a CL program that uses variables.
The course first shows how to declare and initialize a variable. It then describes the various ways in which variables can be manipulated. You will see how to alter the contents of a variable using the CHGVAR command, how to accept a parameter value into a variable, and how to copy system values and job attributes into a variable. The course ends with a discussion of the built-in functions that can be used in a CL program to modify the contents of a variable.
After completing this course, you should be able to: Name and describe the different types of CL variables Declare and initialize variables in a CL program Use the CHGVAR command to alter the contents of a variable Code a program that accepts parameters Code RTVSYSVAL required to accept a specified system value into a variable Code RTVJOBA required to accept job information into a variable Code CVTDAT to convert a date from one format to another Use %SWITCH to test the settings of the job switches Use %BINARY to interpret the contents of a character variable Use %BINARY to convert a decimal value to its corresponding signed binary value Use %SUBSTRING to obtain a substring of a character variable
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. You can satisfy this prerequisite by successfully completing the first course in this series:
· Introduction to CL Programming
Course Outline: CL Program Variables Declaring Variables The CHGVAR Command Accepting Parameters Other Commands that Modify Variables Built-In Functions
Course Details:
Length:
60 minutes
Materials:
A Student Reference Guide is available for this series.
Publisher:
Manta
Variables and Built-In Functions This course also available online.