Previous Topic

Next Topic

Book Contents

Book Index

Examples

The examples in this chapter are based on the following assumptions:

At the end of each example, asterisks on a December 2001 calendar indicate the days on which the rule is scheduled.

Example 1

Schedule the rule on the 17th day and the last day of the month.

DAYS    - 17,L01

The rule is scheduled on the days of the month indicated by an asterisk:

Figure 117 DAYS Parameter – Example 1

Example 2

Schedule the rule on all working days of the month except the 6th day of the month, and also schedule the rule on the 1st day of the month.

DAYS    - +1,-6

DCAL    - WORKDAYS

The rule is scheduled on the days of the month indicated by an asterisk:

Figure 118 DAYS Parameter – Example 2

Example 3

Schedule the rule on all working days of the month except the first and last working days, and except the 17th day of the month.

DAYS    - -D1,-17,-L1

DCAL    - WORKDAYS

The rule is scheduled on the days of the month indicated by an asterisk:

Figure 119 DAYS Parameter – Example 3

Example 4

Schedule the rule on the eighth day of the month. If it is not a working day, schedule the rule on the closest preceding working day.

DAYS    - <8

DCAL    - WORKDAYS

The rule is scheduled on the days of the month indicated by an asterisk:

Figure 120 DAYS Parameter – Example 4

Example 5

Schedule the rule on the 1st day of period A, and on all days, except the 2nd day, of period B. Do not schedule the rule on the 5th day of the month.

DAYS    - -5,D1PA,-D2PB

DCAL    - PERIDAYS

The rule is scheduled on the days of the month indicated by an asterisk:

Figure 121 DAYS Parameter – Example 5

Example 6

Schedule the rule on each Monday and on the 1st day of the month.

DAYS    - 1

AND/OR - OR

WDAYS   - 1

The rule is scheduled on the days of the month indicated by an asterisk:

Figure 122 DAYS Parameter – Example 6

Example 7

Schedule the rule on the 3rd day of the month provided it is a Monday.

DAYS    - 3

AND/OR - AND

WDAYS   - 1

The rule is scheduled on the days of the month indicated by an asterisk:

Figure 123 DAYS Parameter – Example 7

Example 8

Schedule the rule on the last Monday of the month.

DAYS    - L1,L2,L3,L4,L5,L6,L7

AND/OR - AND

WDAYS   - 1

The rule is scheduled on the days of the month indicated by an asterisk:

Figure 124 DAYS Parameter – Example 8

Example 9

Schedule the rule on the 1st, 7th and 15th days of the month if they are both Saturdays and working days. If the day of the month (1st, 7th, 15th) is not a Saturday, do not schedule the rule. If the day of the month is a Saturday, but it is not a working day, schedule the rule on the next working day.

DAYS    - 1,7,15

AND/OR - AND

WDAYS   - 6

CONFCAL - WORKDAYS

SHIFT   - >

The rule is scheduled on the days of the month indicated by an asterisk:

Figure 125 DAYS Parameter – Example 9

Example 10

Schedule the rule to run on the first Friday after the 15th of the month.

DAYS    16,17,18,19,20,21,22

AND/OR   AND

WDAYS    5

The rule is scheduled on the days of the month indicated by an asterisk:

Figure 126 DAYS Parameter – Example 10

Parent Topic

DAYS: Basic Scheduling Parameter