title
Please take a moment to fill out this form. We will get back to you as soon as possible.
All fields marked with an asterisk (*) are mandatory.
REXX Scripts in the z/OS Environment
Course Description
Overview
This REXX course is for those wanting to learn and master REXX in the z/OS environment. Students will study the REXX interpreter as a basis for understanding techniques for writing efficient and readable REXX code. Templates, tracing, and interpreting are reviewed as well as Generic built-in functions. During workshops, students will test REXX in a variety of commonplace application scenarios. Students will learn how to create their own subroutines and functions. Terminal output will be trapped from z/OS and TSO/E. Techniques will be presented to manage the program stack, along with file I/O. Familiarity with TSO/E, ISPF, and ISPF Editor is required. Experience with JCL is beneficial but not mandatory.
This course is one step in the following Learning Journey:
Objectives
- Write efficient, readable REXX code
- Choose between various REXX templates for parsing
- Exploit INTERPRET and interactive debug TRACE
- Create their own built in REXX functions
- Trap console output from MVS and TSO/E
- Effectively manage the program stack
- Read, write, and update MVS files
- Submit MVS REXX execs to MVS batch processor
Topics
- History, Advantages, Disadvantages
- What is REXX like?
- What Can REXX do?
- REXX on TSO
- Comparison with CLISTs
- Execution Differences: CLIST and REXX
- REXX Syntax
- Setting up to Execute
- REXX Verbs and Keywords
- Assignment
- Command
- Label
- Function
- The Literal
- Hexadecimal String
- REXX Variables
- The Basic Subset
- Concatenating Data IF – The Conditional Comparison Operators
- The DO END Construction
- Fuzzing: Not Quite EqualBoolean Operators
- Parse
- Function of Parsing
- Parse Origin
- Parsing in a Main Program
- ARG and DATASET Names
- Converting CLIST PROC to REXX ARG
- Parsing Arguments in a Function
- Subroutine
- Parsing From The Stack and Terminal
- Parsing From Terminal Only
- Parsing a Variable
- Parsing a Literal Value
- Parse Source
- What You Can Do During Interactive
- Debug
- Interactive Debug Codes
- Debugging
- Tracing Instructions
- Trapping Errors
- The Trap That Terminates
- The Trap That Continues
- Trap Continues with Chosen Name
- Condition
- Trapping TSO/ISPF Command
- Trapping Failure
- Failure Trap That Continues
- Trapping Novalue
- Trapping PA1 or ATTN
- Trapping With A Choice
- Trap Ingredients
- The Infamous “GO TO”
- Math
- Precision
- Rounding
- Select: CASE Structure
- Select Example
- Select and NOP
- Select and OTHERWISE
- General
- When REXX Will Pass Command to the Environment
- How REXX Decides
- What Environments Can REXX Talk To?
- When Can REXX Work with TSO, ISPF, ISPF Editor?
- What is the Normal Default Environment?
- Passing One Command to an Environment
- Is an Environment Available? Talking to ISPF
- Using Variable Services
- File Tailoring Services
- File Tailoring Example
- File Tailoring Panel
- File Tailoring
- Edit Macro
- Edit Macro Environment and Parms
- Edit Macro with Multiple Parms
- Edit Macros with Variables
- Using RESULT
- Using Null with Functions
- DATATYPE Function
- LENGTH Function
- POS Function
- QUEUED Function
- SUBSTR Function
- X2D and D2X Functions
- Functions Found Only on TSO
- LISTDSI Function
- LISTDSI Example
- MSG Function
- OUTTRAP Function
- OUTTRAP Example
- SYSDSN Function
- User Written Functions/Subroutines
- General Format of Internal Function/Subroutine
- External Functions/Subroutines
- DO WHILE
- DO UNTIL
- Stepping with DO
- DO FOREVER
- Looping N Times
- DO n TIMES
- ITERATE
- LEAVE
- What is the Stack?
- How Do You Put Thing Into the Stack?
- How Do You Take Things From the Stack?
- Description of the Stack
- Data in the Stack
- Terminal Input
- QUEUE and EXECIO
- PUSH and the Stack
- Removing Data from the Stack
- Counting Lines in the Stack
- Bypassing the StackBottom of the Stack
- Sending the Stack to TSO
- Isolating the Stack
- NEWSTACK
- Functions Used with the Stack
- Clearing the Stack
- Passing Information to Another Program
- What is a Compound Variable?
- Compound Variable Example
- Compound Variables and Subscripts
- What are Compound Variables Used For?
- Stepping Through the Extensions
- Loading and Unloading an Array
- Changing the Stem
- Using Two or More Extensions
- EXECIO
- EXECIO Format
- What Do You Read Into?
- Where Do You Write From?
- EXECIO Syntax
- Reading a Whole File into the Stack
- Reading One Record at a Time
- Reading One Record
- Reading a Whole File into an Array
- Additional Option for Reading
- EXECIO Writing
- Writing from the Stack Example
- Writing from the Stack Explanation
- Copy a File Using the Stack
- Writing from an Array
- The INTERPRET Instruction
- Converting from CLISTS
- Codes Displayed During Interactive Debug
- Tracing Instruction You Can Put in Your Programs
Related Courses
-
z/OS REXX Programming Workshop
ES52G- Duration: 36 Hours
- Delivery Format: Classroom Training, Online Training
- Price: 4,075.00 USD
Self-Paced Training Info
Learn at your own pace with anytime, anywhere training
- Same in-demand topics as instructor-led public and private classes.
- Standalone learning or supplemental reinforcement.
- e-Learning content varies by course and technology.
- View the Self-Paced version of this outline and what is included in the SPVC course.
- Learn more about e-Learning
Course Added To Shopping Cart
bla
bla
bla
bla
bla
bla
Self-Paced Training Terms & Conditions
Sorry, there are no classes that meet your criteria.
Please contact us to schedule a class.

STOP! Before You Leave
Save 0% on this course!
Take advantage of our online-only offer & save 0% on any course !
Promo Code skip0 will be applied to your registration