freedays
Use freedays to specify the name of a non-working days calendar that lists the non-working days for your enterprise. If and how a job stream runs on these particular days is defined in a freedays rule during the run cycle setup. HCL Workload Automation uses this calendar as the base calendar for calculating workdays for the job stream.
The keyword affects only the scheduling of the job streams for which it is specified.
Syntax
freedays Calendar_Name [-sa] [-su]
Arguments
- Calendar_Name
- The name of the calendar that must be used as the non-working days calendar for the job stream. If Calendar_Name is not in the database, HCL Workload Automation issues a warning message when you save the job stream. If Calendar_Name is not in the database when the command schedulr runs, HCL Workload Automation issues an error message and uses the default calendar holidays in its place. Do not use the names of weekdays for the calendar names.
- -sa
- Saturdays are workdays.
- -su
- Sundays are workdays.
Comments
If you specify a non-working days calendar in the job stream definition, then the concept of workdays takes the following value: workdays = everyday excluding saturday and sunday (unless you specified -sa or -su along with freedays) and excluding all the dates of Calendar_Name
If you do not specify freedays in the job stream definition, then: workdays = everyday excluding saturday and sunday and all the dates of the holidays calendar
By default, saturday and sunday are considered as non-working days unless you specify the contrary by adding -sa, -su or both after Calendar_Name.
Examples
schedule sked2
freedays GERMHOL
on 01/01/2005, workdays
schedule sked3
freedays USAHOL -sa
on PAYCAL -2 workdays
schedule sked3
freedays GERMHOL -sa
on APDATES fdignore
schedule testskd3
freedays GERMHOL
on weekdays
except 5/15/2005 fdignore
except 5/23/2006
schedule testskd4
freedays USAHOL -sa -su
on everyday
except MONTHEND -2 weekdays fdnext