The prerequisite condition concept is one of the key concepts of Control-O processing.
A prerequisite condition is a user-defined descriptive name given to a certain situation or condition. Prerequisite conditions can be specified in either of the following types of statements in a Control-O rule definition.
Table 10 Prerequisite Condition Statements
Statement |
Description |
---|---|
DO COND statements |
Used to set or clear a prerequisite condition. |
IN statements |
A Runtime Scheduling parameter used to make the triggering of a rule dependent on the existence or nonexistence of a specified prerequisite condition. |
Prerequisite conditions enable the establishment of rule dependencies. They can also serve as a method of communication between Control-O and the other INCONTROL products at your site.
Control-O uses prerequisite conditions to track the statuses of various aspects of the environment. When the status of a specific aspect of the environment changes, a Control-O rule can set or delete a condition to indicate this and subsequently trigger rules whose execution is dependent on the status of this condition.
Example
To initiate CICS startup, add prerequisite condition CICS-START to the IOA Conditions file through use of a DO COND statement.
A rule dependent on this prerequisite condition is triggered to stop all initiators in the system. This prevents new jobs from competing with CICS for the resources of the system.
After a few minutes, the initiators that were stopped during CICS startup can be restarted.
Parent Topic |