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 every Sunday and Monday.

WDAYS   - 0,1

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

Figure 204 WDAYS Parameter – Example 1

Example 2

Schedule the rule on all working days and on all Saturdays.

WDAYS   - +6

WCAL    - WORKDAYS

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

Figure 205 WDAYS Parameter – Example 2

Example 3

Schedule the rule on Sunday, if it is a working day. If Sunday is not a working day, schedule the rule on the first preceding working day that is not a Friday.

WDAYS   - -5,<0

WCAL    - WORKDAYS

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

Figure 206 WDAYS Parameter – Example 3

Example 4

Schedule the rule on the 1st Monday of the 1st week.

WDAYS   - D1W1

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

Figure 207 WDAYS Parameter – Example 4

Example 5

Schedule the rule on all working days except Mondays and Fridays.

WDAYS   - -D1,-L1

WCAL    - WORKDAYS

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

Figure 208 WDAYS Parameter – Example 5

Example 6

Each week, schedule the rule on the 1st day of period A, and on all days, except the second day of period B, in that week.

WDAYS   - D1PA,-D2PB

WCAL    - PERIDAYS

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

Figure 209 WDAYS Parameter – Example 6

Example 7

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 210 WDAYS Parameter – Example 7

Example 8

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 211 WDAYS Parameter – Example 8

Example 9

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 212 WDAYS Parameter – Example 9

Example 10

Schedule the rule on the 1st, 7th and 15th day 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 213 WDAYS Parameter – Example 10

Parent Topic

WDAYS: Basic Scheduling Parameter