Home About Courses Schedule Services Webinars Contact Search

Basic z/OS REXX Programming

SEE SCHEDULE

Duration: 3.0 days

Method: Instructor led, Hands-on workshops

Price: $1800.00

Course Code: RX1010


Audience

Programmer, technical support personnel, and other individuals that need to write REXX execs

Description

This course will introduce students to the basic skills necessary to code REXX execs in z/OS environments. A series of written and lab exercises will be used to reinforce the classroom education.

Objectives

Upon successful completion of this course, the student 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
  • Write user developed REXX subroutines and functions
  • Issue TSO commands from REXX execs
  • Trap TSO command output and process the output in the REXX exec
  • Use ISPF services in REXX execs

Prerequisites

- Introduction to z/OS, or equivalent experience. - TSO/ISPF, or equivalent experience. - Previous experience in designing and coding application programs will enhance the results of this course.

Topics

  • I.Introduction to REXX
    • Definition
    • Dataset Organization
    • Methods of Execution
  • II.REXX Language Syntax
    • General Statement Syntax
    • Variables
    • Assignment Statement
    • Accessing the Terminal
      • SAY Statement
      • PULL Statement
      • ARG Statement
    • IF THEN ELSE Statement
    • SELECT WHEN Sequence
    • Iterative DO Sequence
    • DO WHILE END Sequence
    • DO UNTIL Sequence
    • DO FOREVER Sequence
    • LEAVE Statement
    • ITERATE Statement
    • SIGNAL Statement
    • EXIT Statement
  • III.REXX Built-in Functions
    • Information Functions
    • Character Functions
    • Word Functions
    • Data Functions
  • IV.Debugging REXX Execs
    • TRACE Statement
    • Interactive Tracing
    • Condition Traps
  • V.User Defined Subroutines and Functions
    • Defining and Using Subroutines
    • Defining and Using Functions
    • Internal versus External Functions
  • VI.TSO/E Processing in REXX
    • Using TSO Commands
    • TSO/E External Functions
      • SYSVAR( )
      • MVSVAR( )
      • MSG( )
      • PROMPT( )
      • SYSDSN( )
      • LISTDSI( )
      • OUTTRAP( )
  • VII.Using ISPF Services in REXX
    • BROWSE / VIEW Services
    • EDIT Service
    • LIBDEF Service
    • DISPLAY Service
    • SETMSG Service
    • ADDRESS Statement
    • SUBCOM Command