Within the z/OS-Regular job definition dialog, you can use the Condition Codes page to specify the codes that indicate a successful or failed job.
You can define condition codes for jobs, steps, procedure steps, or programs as follows:
For each condition code or range of condition codes, you can indicate whether the server is to interpret the code or range as a success or a failure. You can also indicate whether the job should continue or stop running. Each specification becomes a separate item. Together these specifications form a list of condition codes.
Example: Complete a Job Based on Specific Return Codes
Suppose that you define condition codes so that a job completes successfully only when the return code is 0, 1, 2, 3, 4, or 999.
To complete a job based on specific return codes
The Condition Codes page opens in the right pane.
A new row is added to the Condition code list.
A new row is added to the Condition code list.
A new row is added to the Condition code list.
|
Copyright © 2011 CA.
All rights reserved.
|
|