Recovery routines that percolate

When a recovery routine decides to percolate (or takes the default), it should do the following:
  • Release resources that were acquired by the mainline, such as:
    • Storage that should be explicitly freed (for example, CSA)
    • ENQs
    • Locks (the same rules regarding locks apply to recovery routines that percolate as those described under Recovery routines that retry.)
  • Repair the cause of the error, if possible.
  • Indicate the percolate option to the system. If an SDWA is present, the recovery routine issues the SETRP macro with the RC=0 parameter to indicate percolation. If no SDWA is present, the recovery routine has to set a return code of 0 in register 15.
Note:
  1. Once a recovery routine percolates, it is no longer activated; it cannot receive control again for this error.
  2. An ESTAI routine can request that the system not give control to any further ESTAI routines by specifying RC=16 on the SETRP macro. The system then abnormally ends the task.