Previous Topic

Next Topic

Book Contents

Book Index

Examples

The examples for this parameter are based on the following assumptions:

At the end of each example, asterisks in a December 2001 calendar indicate the days when 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 in Figure 126.

Figure 126 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 in Figure 127.

Figure 127 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 in Figure 128.

Figure 128 DAYS Parameter – Example 3

Example 4

Schedule the rule on the 8th 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 in Figure 129.

Figure 129 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 in Figure 130.

Figure 130 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 in Figure 131.

Figure 131 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 in Figure 132.

Figure 132 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 in Figure 133.

Figure 133 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 in Figure 134.

Figure 134 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 day of the month indicated by an asterisk in Figure 135.

Figure 135 DAYS Parameter – Example 10

Parent Topic

DAYS: Basic Scheduling Parameter