When defining rule tables, it is useful to understand the IOA Scheduling facility logic that determines whether or not to order a rule on a specific day. This logic is described below.
SYSTEM and SMFID criteria (specified in the ENVIRONMENT statement) are checked. If these criteria are satisfied, the check continues with next step. If these criteria are not satisfied, the rule is not scheduled in the current system.
DAYS and DCAL parameters are checked independently and a first tentative scheduling date is chosen.
WDAYS and WCAL parameters are checked independently and a second tentative scheduling date is chosen.
A third tentative scheduling date is chosen based on the above two dates and the AND/OR value linking them.
If DAYS/DCAL are not specified, this third temporary scheduling date is identical to the WDAYS/WCAL scheduling date. If WDAYS/WCAL are not specified, this third scheduling date is identical to the first scheduling date.
If CONFCAL/SHIFT are specified, this third scheduling date is adjusted according to the CONFCAL/SHIFT criteria.
The third scheduling decision (as adjusted, if necessary) becomes the final scheduling decision. The rule is scheduled if the final scheduling decision is compatible with the current working date.