Calendar definition
A calendar is a list of dates which define if and when a job stream runs. Each calendar definition has the following format and arguments:
Syntax
$calendar
calendarname [“description”]
date [...]
[calendarname ...]
Arguments
- calendarname
- Specifies the name of the calendar. The name can contain up to eight alphanumeric characters, including dashes (-) and underscores (_), and must start with a letter.
- “description”
- Provides a description of the calendar. The description can contain up to 120 alphanumeric characters. It must be enclosed in double quotation marks. It can contain alphanumeric characters as long as it starts with a letter. It can contain the following characters: comma (,), period (.), dash (-), plus (+), single quote ('), and equal (=). It cannot contain double quotation marks (") other than the enclosing ones, colon (:), semi-colon (;), and ampersand (&).
- date [...]
- Specifies one or more dates, separated by spaces. The format is mm/dd/yy.
Examples
The following example defines
three calendars named monthend, paydays,
and holidays:
$calendar
monthend "Month end dates 1st half 2005"
01/31/2005 02/28/2005 03/31/2005 04/30/2005 05/31/2005 06/30/2005
paydays
01/15/2005 02/15/2005
03/15/2005 04/15/2005
05/14/2005 06/15/2005
holidays
01/01/2005 02/15/2005 05/31/2005
See also
For more information about how to perform the same task from the Dynamic Workload Console, see: