Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following examples specify condition code checks for the example job above.

Example 1

Image RemovedImage Added

In this example, if the condition code of any step of the job is greater than 12, the job halts and the task status is set to FAILED.

Example 2

Image RemovedImage Added

In this example, if the condition code of any procedure step executed as job step S1 is equal to 8, the job continues and the task status is set to SUCCESS.

Example 3

Image RemovedImage Added

In this example, if the condition code of program IEBGENER is 0 or 12, the job continues and the task status is set to SUCCESS.

Anchor
Example 4
Example 4
Example 4

Image RemovedImage Added

In this example, if the condition code from job step S1, procedure step STEP2 is user ABEND U0010, the operator is alerted with a WTOR console message that specifies the job name, the job step, the procedure step, and the actual condition code. The Controller will take the action specified by the operator reply.

...

(See Step Condition Logic for an explanation of these replies.)

Example 5

Image RemovedImage Added

In this example, if the condition code from job step S1, procedure step STEP3 is within the range of 0-7, the job continues and the task status is set to SUCCESS.

Example 6

Image RemovedImage Added

In this example, if the condition code from job step S1, procedure step STEP1 is greater than 0, the job continues and the task status is set to FAILED.