Protecting a Process from Abnormal Terminations

You can use a variety of different methods to prevent a process from being terminated abnormally. Depending on the method you choose, you can

  • Trap faults and recover from them.

  • Protect a process from operator-entered DS (Discontinue) system commands.

  • Retry a process that was terminated by a fault.

  • Protect a process from all possible faults, errors, and termination conditions.

You can also specify code to perform cleanup functions when a process is forced to terminate abnormally.