Introduction to TSO and REXX APIs

Why take this course?

After completing this course, you will be able to
  • Describe the TSO environment, and describe the distinctions between TSO commands and REXX instructions
  • Write REXX EXECs to accomplish useful functions
  • Use TSO commands to work with datasets, either in native mode or in EXECs
  • Use REXX instructions to work with records in files
  • Use subroutines as a coding technique for EXECs
  • Use TSO and EXECs to run programs in the Foreground or the Background (batch)
  • Run EXEC's in the batch, in TSO/E-integrated address spaces or non-TSO/E-integrated address spaces
  • Use TSO commands to send and receive datasets between users
  • Use the REXX compiler, if it is available
  • Use the level 2 REXX constructs, if they are available.
2 Days : Fee - $ 1,397.00 (CAD) :  ? Multi-seat - $ 897.00 (CAD)
Sorry, no classes are currently scheduled
Contact us to arrange your preferred location and date
Students who complete this course will be able to design and maintain applications using native TSO commands and the powerful REXX capability of TSO.
We also discuss invoking TSO commands and working with REXX variables from programs written in Assembler, PL/I, COBOL, and C.
Any prerequisites?
At the very least, the student entering this course should have experience in using REXX in the TSO environment and in writing programs in one of these languages: Assembler, COBOL, PL/I, C.

What Topics Are Covered?

Basic Program Interfaces - Batch
  • Accessing the data in the PARM field on the JCL EXEC statement
  • Getting access to external file data
  • Console I/O
  • Setting normal termination codes
  • Setting abnormal termination codes
Basic Program Interfaces - Native TSO
  • Running programs in foreground
  • Allocating data sets
  • TSO CALL and parm data
  • Terminal I/O
  • TSO WHEN command
  • FREEing data sets
Program Interfaces - TSO Commands
  • The TSO Service Facility: IKJEFTSR / TSOLNK
  • Addressing modes and residency modes
  • Invoking IKJEFTSR from Assembler, COBOL, PL/I, and C
Basic Program Interfaces - TSO REXX
  • REXX, host commands, and quotes
  • Specifying data set names in an exec
  • More on passing parameters
  • TSOEXEC command
The IKJCT441 Service
  • Calling IKJCT441 from Assembler, COBOL, PL/I, and C
Interfaces to Programs That Access DB2 Databases
  • The DSN environment
  • The DSN 'RUN' subcommand
  • Running DSN from REXX execs
  • The DSNREXX Interface
Dialog Manager (ISPF) Considerations
  • The ISPEXEC Interface
  • Program functions and variables
REXX Dynamic Program Linkages
  • Program search
  • Code invoked by ADDRESS LINK and ADDRESS ATTACH * Assembler, COBOL, PL/I, and C
  • Code invoked by ADDRESS LINKMVS and ADDRESS ATTCHMVS * Assembler, COBOL, PL/I, and C
  • Code invoked by ADDRESS LINKPGM and ADDRESS ATTCHPGM * Assembler, COBOL, PL/I, and C
  • Program calling summary
Running EXECs in the batch
  • TSO/E-Integrated Address Spaces (IKJEFT01)
  • Non-TSO/E-Integerated Address Spaces (IRXJCL)
  • The IKJEFT1A and IKJEFT1B entry points
  • The IKJTSOEV Service
  • Calling IKJTSOEV from Assembler, COBOL, PL/I, and C
Accessing REXX Variables From Compiled Programs
  • The IRXEXCOM Service
  • SHVBLOCK - the Shared Variable Block
  • Calling IRXEXCOM from Assembler, COBOL, PL/I, and C
Copyright © 2014 by Hunter Cobb & Steve Comstock