The following example illustrates an automatic recovery process defined to a job to be used after a system crash. This example uses value *UKNW in the CODES parameter.
This example assumes that there was a computer crash during the execution of this job. When the Control‑M monitor is activated, the recovery program is submitted and a message are sent to the appropriate user.
ON PGMSTEP ANYSTEP PROCSTEP CODES *UKNW
DO COND RESTART-AP-STC ODAT +
DO SHOUT TO TSO-AP1 URGENCY U
MSG SYSTEM CRASH – AUTO TO FILE RECOVERY IS ACTIVE
Parent Topic |