Top
Systemwalker Operation Manager  Reference Guide
FUJITSU Software

4.2.1 Holiday Information Control Statement

This control statement is used to set holiday information.

Synopsis

HOL                                       ---------- (1)
calendarname Calendar name            ---------- (2)   (*)   (Note)
yearset Year setting                   ---------- (3)   (*)
monthset Month setting                 ---------- (4)   (*)
dayset Day setting                      ---------- (5)   (**)
weekset Day of the week setting       ---------- (6)   (**)
daycancel Day setting cancellation   ---------- (7)
;
Note:

The calendarname operand should be specified immediately after the HOL keyword.

*:

This must be specified.

**:

One or both of the operands marked with (**) must be specified.

About This Control Statement

(1) HOL

This is the keyword that indicates the beginning of a holiday information control statement.

(2) calendarname Calendar name

Specify the calendar name (for the SYSTEM_CALENDAR or some other) within 24 bytes. The following characters should not be used to specify a calendar name: /?*;,\"<>|:, space, or any user-defined character. Note that, if a name of an existing calendar that has already been set up is specified, the previous setting information is overwritten.

(3) yearset Year setting

Specify the year(s) in which holidays are set in four digits, using numerals.

Holidays can be defined for three years (current year, next year, year after next). To define the same holiday pattern for every year, specify "EVERY".

Year Setting Example

The following gives an example to set the current year and the next year when the current year is 2005.

yearset 2005,2006

(4) monthset Month setting

Specify the month(s) in which holidays are set, using numerals. To specify more than one month, the format should look similar to "3,5,10,....." To define the same holiday pattern for every month, specify "EVERY."

(5) dayset Day setting

Specify the day(s) which is (are) set to holiday(s), using numerals. To specify more than one day, the format should look similar to "1,2,15,....."

(6) weekset Day of the week setting

Specify holidays by day of the week. A day of the week should be specified by using the first three letters of the day. To specify more than one day of the week, the format should look similar to "SUN,MON,TUE,WED,THU,FRI,SAT".

(7) daycancel Day setting cancellation

Used to cancel the holiday setting for a specific date. Use the format "MM,DD(,DD),YYYY", all in numerals. "EVERY" cannot be specified for this operand.

Example of day setting cancellation

The following is an example of how to specify the day setting cancellation.

To cancel holiday setting for November 1, 2005:

daycancel 11,01,2005

To cancel holiday setting for November 1 and 15, 2005:

daycancel 11,01,15,2005

To cancel holiday setting for November 1 and December 20, 2005:

daycancel 11,01,2005
daycancel 12,20,2005

To cancel holiday setting for November 3, 2005 and November 3, 2006:

daycancel 11,03,2005
daycancel 11,03,2006

Example of holiday information control statement

The following is an example of the holiday information control statement when setting the dates below as holidays.

Cautions