REXX training course description
A hands on training course covering the Restructured EXtended eXecutor (REXX) language. A large number of exercises are used to reinforce and emphasise lecture sessions.
What will you learn
Write REXX programs.
Debug REXX programs.
Examine existing code and determine its function.
REXX training course details
Who will benefit:
Anyone wishing to learn REXX.
Prerequisites:
None although experience in another high level language would be useful.
Duration
3 days
REXX training course contents
Introduction to REXX
What is REXX? REXX environments, invoking a REXX exec, a sample REXX exec, REXX clause types.
REXX variables and data
Literal data, variable data, assignment, simple variables, compound variables, stem variables, constant data, numeric data, arithmetic operations, character manipulation, hexadecimal data.
The parse instruction
Parse format, Parse examples, Parse arg, Parse pull, Parse value, special templates, place holders, literal templates, numeric templates, variable templates.
Control structures
Relational conditions, logical operators, simple selection, looping: uncontrolled and controlled loops, infinite loops, conditional loops, controlling loops, leave, iterate, multiple selection, instructions for subroutines, exit.
Sub routines and functions
Internal and external subroutines, call, ARG(), ARG(n)return, exit, scope of variables, procedure, functions, built in functions, overriding built in functions.
Performing I/O
Command conventions, preparing to read a file, execio, limitations, execio for reading, DISKR, DISKRU, DISKW, return codes.
External functions
listdsi, msg, outtrap, prompt, sysdsn, sysvar, storage
Tracing
Immediate commands, the trace facility, signal and call statements.
Built in functions
Text handling functions, string handling, word handling, arithmetic, data conversion, bit manipulation, environment.
The data stack
Data stack structure, REXX instructions for the data stack, REXX functions for the data stack, TSO/E commands for the data stack.
REXX in batch
TSO/E foreground. TSO/E background.