TSO/E also provides several exit routines you can use to customize
REXX processing. Several exits have fixed names. Other exits do
not have a fixed name. You supply the name of these exits on the
call to IRXINIT or by changing the appropriate default parameters
modules that TSO/E provides.
Replaceable routines and exits describes
the exits in more detail. A summary of each exit follows.
- IRXINITX -- Pre-environment initialization exit routine. The
exit receives control whenever IRXINIT is called to initialize a new language processor environment. It gets
control before IRXINIT evaluates any parameters.
- IRXITTS or IRXITMV -- Post-environment initialization exit routines.
IRXITTS is for environments that are integrated into TSO/E and IRXITMV
is for environments that are not integrated into TSO/E. The IRXITTS
or IRXITMV exit receives control whenever IRXINIT is called to initialize
a new language processor environment.
It receives control after IRXINIT initializes a new environment but
before IRXINIT completes.
- IRXTERMX -- Environment termination exit routine. The exit receives
control whenever IRXTERM is called to terminate a language processor environment. It
gets control before IRXTERM starts termination processing.
- Attention handling exit routine -- The exit receives control whenever
a REXX exec is executing in the TSO/E address space (in a language processor environment that
is integrated into TSO/E) and an attention interruption occurs.
- Exec initialization -- The exit receives control after the variable
pool for a REXX exec has been initialized but before the language processor processes
the first clause in the exec.
- Exec termination -- The exit receives control after a REXX exec
has completed processing but before the variable pool has been terminated.
- Exit for the IRXEXEC routine (exec processing exit) -- The exit
receives control whenever the IRXEXEC routine is called to execute
a REXX exec. The IRXEXEC routine can be explicitly called by a user
or called by the system to execute an exec. IRXEXEC is always called
by the system to handle exec execution. For example, if you use IRXJCL
to execute an exec in MVS™ batch,
IRXEXEC is called to execute the exec. If you provide an exit for
IRXEXEC, the exit is invoked.
The exit routines for REXX processing are different from the replaceable
routines that are described in the previous topic. You can provide
replaceable routines only in language processor environments that
are not integrated into TSO/E. Except for the attention handling
exit, you can provide exits in any type of language processor environment (integrated
and not integrated into TSO/E). Note that for post-environment initialization,
you use IRXITTS for environments that are integrated into TSO/E and
IRXITMV for environments that are not integrated into TSO/E.
You can use the attention handling exit only in an environment
that is integrated into TSO/E.