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.<br><br>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.<br><br>This course is also available for one-company, on-site presentations and for live presentation over the Internet, via the Virtual Classroom Environment service.
Read more +


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.
Read more +

Delegates will learn how 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.
Read more +


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.

Tracing and Debugging

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

Parsing Strings

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

Control Instructions

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

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.

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.

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.

Using TSO Commands & Functions

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

Read more +

Why choose QA

Dates & Locations

Need to know

Frequently asked questions

How can I create an account on myQA.com?

There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.

If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".

If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.

Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.

How do QA’s virtual classroom courses work?

Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.

We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting (more details in the link below) to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.

How do QA’s online courses work?

QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.

All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.

When will I receive my joining instructions?

Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.

When will I receive my certificate?

Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.

Let's talk

By submitting this form, you agree to QA processing your data in accordance with our Privacy Policy and Terms & Conditions. You can unsubscribe at any time by clicking the link in our emails or contacting us directly.