If the mission ends OK, the prerequisite conditions are added to or deleted from the IOA Conditions file according to the specified opt value.
Prerequisite conditions are usually used to establish job or mission dependencies or to ensure manual intervention when required.
The job or mission containing a prerequisite condition in an IN statement is not submitted unless that prerequisite condition has been added manually or by a job or mission containing the OUT or DO COND statement.
An OUT statement can be used to add or delete a prerequisite condition if the job or mission ends OK.
A DO COND statement can be used in a Report Decollating mission to add or delete a prerequisite condition if the identifying string specified in the accompanying WHEN statement is found. A DO COND statement can also be used by Control-M (if installed) to add or delete a prerequisite condition if the step or codes event criteria specified in the accompanying ON statement are satisfied. The DO COND parameter is described in DO COND: Decollating Parameter (decollating mission) and in the Control-M for z/OS User Guide.
If an IN prerequisite condition for a job or mission is not an IN prerequisite condition for any other job or mission, you can use the OUT statement to delete the prerequisite condition after the job or mission ends OK.
The following are examples of prerequisite conditions:
OSS-READY
PRINTER-SET
SALARY_DECOLLATED
All prerequisite conditions are associated with a date reference that is used to distinguish between different runs of the same job or mission with different scheduling dates. If, for example, a condition is being deleted, only the condition matching the specified date is deleted. The same condition from a different date is not deleted. When adding or deleting prerequisite conditions, the date associated with the prerequisite condition can be a specific 4-character date or one of the following symbolic dates:
Table 260 OUT Parameter Prerequisite Condition Symbolic Dates
Symbolic Date |
Effect |
---|---|
STAT |
Adds or deletes a prerequisite condition with the date value STAT. |
ODAT |
Adds or deletes the prerequisite condition with the original scheduling date of the job or mission. |
PREV |
Adds or deletes the prerequisite condition with the previous scheduling date of the job or mission (or ODAT–1 if the job or mission is being forced). |
NEXT |
Adds or deletes the prerequisite condition with the next scheduling date of the mission (orODAT+1 for a forced mission). |
**** or $$$$ |
Valid only with an opt value of – . Either of these values results in the deletion of all matching prerequisite conditions regardless of date. |
Prerequisite conditions created by parameter OUT can trigger the execution of other jobs or missions.
Prerequisite conditions deleted by parameter OUT can prevent the scheduling of jobs and missions that require those prerequisite conditions in their IN parameter.
For more information regarding prerequisite conditions, see Prerequisite Condition Concept.
Parent Topic |