Using REXX under TSO/ISPF Training

Course #:WA1933

Using REXX under TSO/ISPF Training

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.

Prerequisites

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.

Audience

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

Duration

3 Days

Outline of Using REXX under TSO/ISPF Training

1. What is REXX?

  • Developing REXX Execs
  • Allocating SYSPROC/SYSEXEC
  • Designating a User Exec Library

2. REXX Language Syntax

  • Statement Types
  • Statement Syntax
  • Comments
  • SAY Statement
  • PULL Statement
  • ARG Statement
  • IF-THEN-ELSE Sequence
  • DO Groups
  • SELECT-WHEN Sequence
  • Iterative DO Groups


3. Using REXX Functions

  • Introduction
  • Data Function - FORMAT, TRUNC, MAX, MIN, ABS, RANDOM
  • Character Functions - LENGTH, SUBSTR, LEFT, RIGHT, POS, LASTPOS, DATATYPE, VERIFY, STRIP, TRANSLATE
  • Word Functions - WORDS, WORD, WORDLENGTH, WORDINDEX, SUBWORD, WORDPOS
  • Information Functions - DATE, TIME, USERID

4. Debugging REXX

  • Execution Errors
  • TRACE Statement
  • Interactive Tracing
  • EXECUTIL Command
  • Attention Mode
  • Condition Traps

5. User-Defined Subroutines and Functions

  • Subroutines
  • User-Defined Functions
  • External Subroutines and Functions

6. TSO/E Processing in REXX

  • TSO Command Processing
  • Using REXX Variables -, SYSVAR, MVSVAR, MSG, PROMPT, SYSDSN, LISTDSI Format
  • OUTTRAP

7. Appendices

  • A. REXX Language Support in DB2
  • B. REXX Support for MVS Operator Commands
  • c. Sample REXX Compiler Output
  • D. Available REXX Functions
  • E. Available TSO/E Commands
  • F. Edit Macro Keyphrase Names
  • G. Solutions to Lab Exercises
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.