Home About Courses Schedule Services Webinars Contact Search

Advanced z/OS REXX Programming


Duration: 2 Days

Method: Instructor led, Hands-on workshops

Price: $1175.00

Course Code: RX1020


Programmer, technical support personnel, and other individuals that need to write REXX execs.


This course will introduce students to the skills necessary to code REXX execs in z/OS environments. A series of written and lab exercises will be used to reinforce the classroom education.


Upon successful completion of this course, the student will be able to:

  • Parse data using the PARSE statement
  • Read and write sequential datasets
  • Manipulate and access the REXX data stack
  • Create REXX based ISPF edit macros
  • Execute REXX execs in batch jobs
  • Write REXX execs that interact with Db2
  • Write REXX execs that issue MVS operator commands
  • Compile and linkedit REXX execs


• z/OS Basic REXX Programming, or equivalent experience. • Previous experience in designing and coding application programs will enhance the results of this course.


  • I. Parsing Data
    • PARSE Statement
    • List Parsing
    • String Pattern Parsing
    • Positional Pattern Parsing
  • II. File I/O
    • Executing Programs in Execs
      • ALLOC Command
      • CALL Command
      • FREE Command
    • EXECIO Statement
  • III. Data Stack Processing
    • Definition
    • REXX Statements to Manipulate the Stack
    • Uses of the Stack in REXX Execs
    • TSO Commands That Use the Stack
  • IV. ISPF Edit Macros
    • Overview
    • Edit Macro Commands
    • Using Edit Primary Commands
    • Using Edit Line Commands
    • Using Edit Macro Keyphrases
    • Using Edit Labels
  • V. Batch REXX Execution
    • Executing REXX Execs in TSO Background Jobs
    • Executing REXX Execs in Batch Jobs
  • VI. Supplemental Topics (as time permits)
    • REXX Language Support in Db2
    • REXX Support for MVS Operator Commands
    • Compiling REXX Execs