Example 4

//FSF007 JOB ...
//*%OPC RECOVER ERRSTEP=UPDATE,ADDAPPL=RECOV1,
//*%OPC  RESTART=N,TIME=0800-1600
//*%OPC RECOVER ERRSTEP=UPDATE,ADDAPPL=RECOV1,TIME=0000-2400
//*%OPC RECOVER TIME=0000-2400
//    EXEC ...
        .
        .
        .
In example 4:
  • The application RECOV1 is added if an error occurs in step UPDATE. During normal working hours, the failed operation remains on the ended-in-error list. At other hours, the operation is restarted from the beginning. For errors in other steps, the operation is restarted from the beginning. In all three cases, an error code in the INCLUDECC list means no recovery.