htalogo2.gif

Introduction to TSO and REXX APIs - Topical Outline

Day One

Introduction

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

Computer Exercise: Running Batch Programs

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

Computer Exercise: Running Programs Under Native TSO

Program Interfaces - TSO Commands

The TSO Service Facility: IKJEFTSR / TSOLNK

Addressing modes and residency modes

Invoking IKJEFTSR from Assembler, COBOL, PL/I, and C

Computer Exercise: Issuing TSO Commands From Compiled Progams

Basic Program Interfaces - TSO REXX

REXX, host commands, and quotes

Specifying data set names in an exec

More on passing parameters

REXX 'CALL' vs TSO 'CALL'

TSOEXEC command

Computer Exercise: CALLing a Program From an Exec

Accessing REXX Variables From Compiled Programs

The IKJCT441 Service

Calling IKJCT441 from Assembler, COBOL, PL/I, and C

Computer Exercise: Using IKJCT441 Services

Day Two

Interfaces to Programs That Access DB2 Databases

The DSN environment

The DSN 'RUN' subcommand

Running DSN from REXX execs

The DSNREXX Interface

Computer Exercise: (Optional) Working With DB2 Data From an Exec

Dialog Manager (ISPF) Considerations

The ISPEXEC Interface

Program functions and variables

REXX Dynamic Program Linkages

ADDRESS LINK and ADDRESS ATTACH

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

Computer Exercise: LINKing to Programs

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

Computer Exercise: Running EXECs in the Batch

Accessing REXX Variables From Compiled Programs

The IRXEXCOM Service

SHVBLOCK - the Shared Variable Block

Calling IRXEXCOM from Assembler, COBOL, PL/I, and C

Computer Exercise: Using IRXEXCOM Services

These Materials © Copyright 2012 by Steven H. Comstock

Materials version: V2.x

Course Description
Course Objectives
TSO / ISPF / REXX / CLIST curriculum
Home page