TSO/E provides a defined interface to support a REXX compiler, such as the IBM® Compiler and Library for REXX/370.
The interface is a compiler programming table that
identifies the compiler runtime processor and
the compiler interface routines.
The compiler runtime processor is
the program that executes compiled REXX execs.
The
compiler programming table contains
an entry for each
compiler runtime processor and the
interface routines that it uses. These routines allow a
compiler runtime processor to perform
certain tasks related to REXX language processing. The use of the four
compiler interface routines is optional.
The interface routines are:
- Compiler Interface Initialization Routine
If
you install this routine, it receives control to initialize a compiler runtime processor before
the compiler runtime processor is
invoked the first time. The compiler interface initialization routine receives
control once for each compiler runtime processor in a REXX language processor environment.
- TSO/E Diagnosis: TMP and Service Routines
If you install
this routine, it can be used to free resources that the compiler interface initialization routine and
the compiler runtime processor might
have obtained. The compiler interface termination routine receives
control when the language processor environment is terminated.
- Compiler Interface Variable Handling Routine
If
you install this routine, it accesses variables of a compiled exec.
The compiler interface variable handling routine receives
control whenever an external routine or host command requests access
to REXX variables
using IKJCT441 or IRXEXCOM.
- Compiler Interface Load Routine
If
you install this routine, it loads a compiled REXX exec from storage or frees
the in-storage control block. The compiler interface load routine receives
control when TSO/E REXX loads
a compiled exec into storage and when TSO/E REXX needs to free the in-storage
control block of the compiled REXX exec.