Mainframe Path Start learning free
CoreProgramming34 min

REXX scripting on z/OS

The mainframe's everyday scripting language. Automate TSO and ISPF tasks, read and write datasets, run TSO commands in batch, and write ISPF edit macros.

What you will be able to do

Lessons

  1. Your first REXX exec
    REXX is a simple, readable scripting language built into z/OS. People use it to automate the repetitive parts of mainframe work: checking datasets, running TSO commands, building…
  2. Decisions, loops and PARSE
    REXX has the control structures you expect, plus PARSE, a powerful way to split text into pieces. Together they let you process lists of datasets, report lines and command output.
  3. Datasets and TSO commands from REXX
    REXX becomes really useful when it talks to z/OS: allocating datasets, reading and writing records with EXECIO, running TSO commands and capturing their output, and running all…
  4. ISPF edit macros and error handling
    REXX can drive ISPF itself. Edit macros automate changes inside the editor, ISPF services let execs show panels and work with libraries, and proper error handling makes your…

Track your progress and earn a certificate.
Free account, 80 quiz questions for this subject.

Start this subject