Previous Topic

Next Topic

Book Contents

Book Index

FCnnn

The DO actions are performed after a specified number of job or Smart Table failures (any case of finishing NOTOK) occur serially. The number of failures is specified by the 3-digit suffix of the FCnnn parameter. The DO action is performed only after the number of failures that are specified by FCnnn occur. If afterwards there are additional failures, the DO action will not be performed again.

Every time the job or Smart table ends with a success, or is forced to be ENDED OK by a FORCE OK request, the failure counter is reset to zero.

Example - Deactivating an ON statement

Perform a set of DO actions when a job fails in a specific step xxx and with a specific fail code yyyy. These actions should be taken on the first occurrence of the job failure but not on any subsequent rerun or restart.

ON PGMST ANYSTEP     PROCST        CODES FC001                          A/O A

ON PGMST xxx         PROCST        CODES yyyy                            A/O

  DO do-statements

The above construct causes the ON statement to be deactivated after the first job failure occurs. If afterwards there are additional failures, the DO action will not be performed again.

Note that if any of the above DO statements are DO FORCEJOBs, with the above statement there is no need to specify the global CTMPARM parameter FORCONCE as Y.

Parent Topic

ON PGMST: Post–Processing Parameter