z/OS REXX Programming Workshop

IBM Course

Course Description

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.

4.5 Days

  • 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

This is an intermediate course for people who need to write and maintain Rexx programs in the z/OS system environment.

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 of z/OS (ES10)

A programming language course

Day 1

Unit 1 – Introduction

Unit 2 – Getting started with REXX (start)

Lab exercise 1

Unit 2 – Getting started with REXX (finish)

Lab exercise 2

Unit 3 – Programming in REXX (start)

Day 2

Lab exercise 3

Unit 3 – Programming in REXX (finish)

Lab exercise 4

Unit 4 – Functions and subroutines (start)

Lab exercise 5

Day 3

Unit 4 – Functions and subroutines (finish)

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