Back to Courses

REXX – General REXX Instructions

Duration

3 hours

Overview

Description

In this course you will begin by seeing how simple arithmetic calculations are performed using REXX, and then progress to more powerful complex calculations. You will see how a simple REXX conversational program is built, and how data passed to a REXX program can be parsed to create variables. The value and use of compound variables is also examined.

Audience

Personnel responsible for writing or maintaining REXX programs.

Prerequisites

Successful completion of the Interskill REXX – Coding and Execution Basics course, or equivalent knowledge.

Objectives

After completing this course, the student should be able to:

  • Describe arithmetic calculations that REXX can use
  • Code a comparison operation
  • Write a simple conversational REXX program
  • Describe how REXX variables are used

Course Content

REXX Operators

Arithmetic Operations
Processing Non-Numerical Values
Arithmetic Precision
Order of Operations
Built-In Arithmetic Functions
Comparison Operators
Logical Operators
Concatenation Operators

REXX Conversations and Variables

Displaying Information Using the SAY Instruction
Obtaining Data Using the PULL Instruction
Parsing Data
Using the External Data Queue
QUEUE and PUSH Instructions
PARSE VAR and VALUE Instructions
Parsing Arguments
PARSE NUMERIC Instruction
Compound Variable Structure
Stem and Tail
Handling Multiple Compound Variables
OUTTRAP Function

REXX – General REXX Instructions Mastery Test