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


Error recovery

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

When the host command environment routine is called, an error recovery routine (ESTAE) is in effect. The one exception is if the language processor environment was initialized with the NOESTAE flag set on. In this case, an ESTAE is not in effect unless the host command environment replaceable routine establishes its own ESTAE.

Unless the replaceable routine establishes its own ESTAE, REXX traps all abends that occur. This includes abends that occur in any routines that are loaded by the host command environment replaceable routine to process the command to be executed. If an abend occurs and the host command environment routine has not established a new level of ESTAE, REXX:
  • Issues message IRX0250E if a system abend occurred or message IRX0251E if a user abend occurred
  • Issues message IRX0255E

The language processor is restarted with a FAILURE condition enabled. See Conditions and condition traps for information about conditions and condition traps. The special variable RC will be set to the decimal equivalent of the abend code as described in Table 1 for the return code parameter (parameter 5).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014