|
Home > Training >
Mainframe
>
|
WA1933 TSO REXX Training and Courseware
|
This course teaches the concepts and programming for REXX (Reconstructed EXtended eXecutor) language for the TSO environment. The course covers the concepts and development of REXX Execs (executable code modules). The course is a combination of lecture, discussion and hands-on workshop sessions |
|
Objectives
Upon successful completion Students will be able to:
- Create and allocate REXX libraries
- Invoke REXX execs and pass parameters to them
- Use REXX instructions to perform terminal I/O
- Perform arithmetic calculations and character operations
- Use such REXX programming constructs as:
- IF statements
- SELECT–WHEN constructs
- DO–WHILE and iterative DO loop sequences
- Debug REXX execs via the TRACE facility
- Issue TSO commands from REXX execs
Prerequisites
Experience with at least one programming language is highly recommended. At least 6 month of experience with TSO/ISPF is required. Experience writing TSO CLISTs will be helpful, but, not needed.
Audience
This course is for experienced application developers must understand and use REXX as a tool for software development and write REXX execs.
Duration
3 Days |
|
Course Outline
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.
|
|
|