Audience
This is an intermediate course for people who need to write and maintain REXX programs in the z/OS system environment.
Prerequisites
You should be able to:
- Code basic Job Control Language statements
- Code in a programming language
- Create, alter, and delete data sets using TSO
These skills can be developed by taking:
- Fundamental System Skills in z/OS - ES10G
- A programming language course
Duration
5 days. Hands on.
Course Objectives
This course is designed to teach you the basic skills required to write programs using the REXX language in z/OS. The course covers the TSO extensions to REXX and interaction with other environments such as the MVS console, running REXX in batch jobs, and compiling REXX.
- Write programs using the Rexx language
- Use various data parsing techniques
- Use built-in Rexx functions
- Create user-defined internal and external functions and subroutines
- Issue host commands from within Rexx execs
- Code programs that read and write data sets
- Use instructions and commands that manipulate the data stack
- Use Rexx debugging tools
- Write error-handling routines
Course Content
Day 1
Unit 1 - Introduction
Unit 2 - Getting started with REXX (part 1)
Lab exercise 1
Unit 2 - Getting started with REXX (part 2)
Lab exercise 2
Unit 3 - Programming in REXX (part 1)
Day 2
Lab exercise 3
Unit 3 - Programming in REXX (part 2)
Lab exercise 4
Unit 4 - Functions and subroutines (part 1)
Lab exercise 5
Day 3
Unit 4 - Functions and subroutines (part 2)
Lab exercise 6
Unit 5 - Debugging and error handling
Lab exercise 7
Unit 6 - Executing host commands
Lab exercise 8
Day 4
Unit 7 - Compound variables and the data stack
Lab exercise 9
Unit 8 - Reading and writing data sets in REXX
Lab exercise 10
Unit 9 - The parse instruction
Day 5
Lab exercise 11
Unit 10 - Using REXX: REXX compiler, REXX in batch, MVS console commands
Lab exercise 12