z/OS TSO/E REXX Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


TSO/E REXX customizing services

z/OS TSO/E REXX Reference
SA32-0972-00

In addition to the instructions, functions, and commands for writing a REXX exec and the programming services that interface with REXX and the language processor, TSO/E also provides customizing services for REXX processing. The customizing services let you change how REXX execs are processed and how system services are accessed and used.

The REXX language itself, which consists of instructions and built-in functions, is address space independent. The language processor, which interprets a REXX exec, processes the REXX language instructions and functions in the same manner in any address space. However, when a REXX exec executes, the language processor must interface with different host services, such as I/O and storage. MVS™ address spaces differ in how they access and use system services, for example, how they use and manage I/O and storage. Although these differences exist, the language processor must run in an environment that is not dependent on the address space in which it is executing an exec. The environment must allow REXX execs to execute independently of the way in which an address space handles system services. The TSO/E REXX customizing routines and services provide an interface between the language processor and underlying host services and allow you to customize the environment in which the language processor processes REXX execs.

TSO/E REXX customizing services include the following:
Environment Characteristics
TSO/E provides various routines and services that allow you to customize the environment in which the language processor executes a REXX exec. This environment is known as the language processor environment and defines various characteristics relating to how execs are processed and how system services are accessed and used. TSO/E provides default environment characteristics that you can change and also provides a routine you can use to define your own environment.
Replaceable Routines
When a REXX exec executes, various system services are used, such as services for loading and freeing an exec, performing I/O, obtaining and freeing storage, and handling data stack requests. TSO/E provides routines that handle these types of system services. The routines are known as replaceable routines because you can provide your own routine that replaces the system routine.
Exit Routines
You can provide exit routines to customize various aspects of REXX processing.
The topics in this chapter introduce the major interfaces and customizing services. The following chapters describe the customizing services in more detail:
  • Language Processor Environments describes how you can customize the environment in which the language processor executes a REXX exec and accesses and uses system services.
  • Initialization and termination routines describes the IRXINIT and IRXTERM routines that TSO/E provides to initialize and terminate language processor environments.
  • Replaceable routines and exits describes the routines you can provide that access system services, such as I/O and storage, and the exits you can use to customize REXX processing.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014