Previous Topic: IMOD Source Recovery

Next Topic: Binary Conversion in REXX

REXX Language in CA-GSS

Note: CA‑GSS supplies extended functions for you to use when writing IMODs. For information about these functions, see the Reference Guide.

A REXX program is built from a series of instructions, commands, and function calls:

Instruction

Contains one or more clauses. In many instructions, the first clause starts with a keyword that identifies the instruction. Some instructions affect the flow of control, while other instructions provide services to the programmer. Some instructions, such as DO, include nested instructions.

Function

Is a built‑in subroutine that processes data and returns a value to the IMOD.

Command

Is any text string that is not an instruction, function, or operand. Commands are passed to the current environment for evaluation and disposition. The environment is determined by the program using the ADDRESS instruction and can be any of several non‑REXX programs. For example, commands can be passed to the CA Jobtrac Job Management environment for processing as CA Jobtrac Job Management commands.

CA‑GSS supports all REXX instructions, commands, and functions, with the following exceptions:

The REXX language uses the following conventions: