Previous Topic

Next Topic

Book Contents

Book Index

General Information

Negative values take precedence over positive values when determining whether or not a rule will be scheduled on a certain date. If a negative value, such as the formats –n, –Dn, –Ln, –DnPi, or –LnPi, in either the DAYS or WDAYS field, prevents a rule from being scheduled on a date, the rule will not be scheduled on that date even if a positive value (for example, Ln) would otherwise result in the rule being scheduled on that date.

If periodic and non-periodic values are mixed when specifying the WDAYS parameter, processing will depend on the calendar type specified in the WCAL parameter.

If a non-periodic calendar is specified in the WCAL parameter, only non-periodic values in the WDAYS parameter are processed, and periodic values are ignored. In this case, the negative periodic values –DnPi and –LnPi are also ignored and do not supersede other values.

If a periodic calendar is specified in the WCAL parameter, all periodic values and the negative non-periodic value -n in the WDAYS parameter are processed; all other non-periodic values are ignored.

The MONTHS parameter is ignored when periodic values are specified in the WDAYS parameter.

When Ln or Dn values, or both Ln and Dn values, are specified in a week that overlaps two months, it is the MONTHS value of the earlier month that determines whether Dn or Ln values are applied in the week.

If the first day of the week falls in a month with a MONTHS value of Y, all Dn and Ln values in that week are applied, even those falling in the next or previous month when that month has a MONTHS value of N.

If the first day of the week falls in a month with a MONTHS value of N, no Dn or Ln values in that week are applied, not even if those falling in the next or previous month when that month has a MONTHS value of Y.

Parent Topic

WDAYS: Basic Scheduling Parameter