Choosing the appropriate recovery routine

Once you have decided to provide recovery for your program, you need to decide what type of recovery to provide. Recovery routines fall into two broad categories: ESTAE-type recovery routines and FRRs. In turn, there are different types of ESTAE-type recovery routines. This information describes the different types of recovery routines, and for each type describes how you define it, activate it, deactivate it, and request that it be no longer defined. A summary of this information is in Table 1.

When you provide one or more recovery routines for your program, you have the opportunity to identify a user parameter area for the system to pass from the mainline routine to the recovery routine. Creating such a parameter area with information for the recovery routine is a very important part of providing recovery. See Setting up, passing, and accessing the parameter area for more information about what this parameter area should contain, and how to pass it.