Address Enterprise priorities of performance, cost, and security. Stand-out leadership, accelerate skills development, and achieve career goals using 30 years of effective and proven mainframe training experience. 

Loading Events

« All Events

  • This event has passed.

REXX Programming under TSO/ISPF

July 15, 2019 - July 17, 2019


REXX is a powerful multi-purpose and user-friendly programming tool used to exploit many IBM and third-party operational products. It is the tool of choice in most (if not all) of today’s larger data centres for those who need to implement new operational procedures both quickly and effectively.

This three-day course is designed for TSO/ISPF users who wish to learn how to create and use programs in the REXX language. The course is taught combining formal classroom teaching with many practical exercises and problem scenarios, thus ensuring a full understanding of this powerful procedural language.

This course is also available for one-company, on-site presentations and for live presentation over the Internet, via the Virtual Classroom Environment service.

What do I need for “Virtual Classroom Environment”?
  • Webcam.
  • Headphones with a microphone.
  • Sufficient bandwidth, at least 1.5 Mb/s in each direction.


The next step

For those who will be using REXX in a Db2 for z/OS environment, the course Db2 for z/OS: Using REXX is recommended.

For those who wish to design and build ISPF panels using Dialog Manager, the course Creating & Customising ISPF Panels with Dialog Manager is recommended.



On successful completion of this course you will be able to:

  • describe the concepts and structure of the REXX language environment
  • write and debug REXX programs executing in the TSO environment
  • use the tracing and debugging aids effectively
  • use the loop control and decision-making instructions
  • identify and put into practice the most commonly used REXX built-in functions
  • parse data strings
  • use TSO commands and functions within REXX EXECS
  • manage I/O using data stacks and stems
  • use sub-routines and functions.

Who Should Attend

Systems programmers, operations analysts, senior operators, operations support staff and application programmers who will be writing and/or maintaining TSO REXX programs.


An understanding of programming at a conceptual level and a good knowledge of TSO and its commands. A superficial knowledge of ISPF/PDF is insufficient for those who wish to gain full value from this course.


3 days

Fee (per attendee)

$2,700 CAN

Course Code




Introduction to TSO REXX

Executing REXX EXECs; elements of the REXX language: Clauses, Tokens, Labels, Assignments, Instructions, and Commands; constant and variable symbols; Simple, Compound & Stem variable symbols; operators for concatenation, arithmetic, comparison & logical operations.

This segment introduces the terminology associated with REXX and shows how data fields are defined and initialized.


Tracing and Debugging

Using TRACE instruction for debugging; using immediate commands HI, HT, TS and TE; use of EXECUTIL; interpreting TRACE output.

This segment describes the tracing facilities available in REXX to enable more rapid problem determination.


Parsing Strings

Parsing variables and strings; basic parsing techniques; special templates; place holders, literal patterns and numeric patterns.

Explains how input from any source can be split into useable entities using various techniques.


Control Instructions

Decisions: IF, THEN, ELSE, SELECT, WHEN, OTHERWISE; creating and controlling loops: DO WHILE, UNTIL, FOREVER, LEAVE, ITERATE; introduction to sub-routines.

This segment describes the IF, THEN, ELSE logic used in REXX.


Sub-routines and Functions

Internal and external sub-routines; how to create internal and external functions; passing arguments and results to and from sub-routines and functions; CALL; RETURN; EXIT; PROCEDURE; RESULT.

This segment shows how to create subroutines and functions, and identifies the difference between them


REXX Built-in Functions

Introduction to REXX supplied built in functions; how to use the most useful ones: ARG, DATE, TIME, DATATYPE, LENGTH, POS, WORDS, LEFT, RIGHT, STRIP, SPACE, COPIES and WORD.

This segment explains the commonly used REXX built-in functions, and indicates their use in REXX programs.


Data Stack Management

LIFO and FIFO stacking; avoiding the stack; writing to the stack: PUSH and QUEUE; reading from the stack: PARSE PULL; creating and managing extensions to the stack: MAKEBUF, QBUF and DROPBUF; interrogating the stack: QUEUE, QELEM; creating and managing private stacks: NEWSTACK, DELSTACK and QSTACK.

This segment describes the stack mechanisms used by TSO and REXX.


Using TSO Commands & Functions

Using TSO commands and functions: SYSDSN, LISTDSI, MSG, OUTTRAP, PROMPT and SYSVAR; reading and writing datasets with EXECIO.

Shows how to invoke and use TSO commands from a REXX program.


July 15, 2019
July 17, 2019
Event Category:


Toronto, Canada
Toronto, Ontario Canada + Google Map


Tickets are not available as this event has passed.

Disclaimer notice: 

The above are samples for course descriptions, objectives, content, and pre-requisites. Each virtual classroom course is a minimum of 3 participants and a maximum of 6 participants. Fifteen (15) day confirmation notice is required for public courses or thirty (30) day confirmation notice for private courses before the start of the course.  The schedule and cost are tentative and subject to confirmation based on your actual requirements. For price, availability, and confirmation, please contact us.

Online orders are not refunded within fifteen (15) day for public courses or thirty (30) day for private courses prior to the starting date. A 5% administration fee will be charged for course cancelation or change.