Calendar terms and concepts
Calendar terms and concepts
A name (one to twenty-four mixed-case characters) for a collection of named periods of time that you can use when creating schedules for an object’s availability and for other object attributes.
The first time TOM is started, the name of the calendar definition base in use is DEFAULTCAL.
Only one calendar definition base can be active per TOMPLEX at any one time and you can create multiple calendar definition bases. Reasons to have more than one calendar definition base include
When defining a name for additional calendar definition bases, the following names are already used by TOM and not allowed to be specified as a calendar definition base name:
Name of the calendar definition base that comes up the first time TOM is started.
To use a different calendar definition base, you must first create one from the TDEFBS view and then use the ACTivate line command to switch to the new calendar definition base or use the TOMEXEC API.
A user-specified collection of days.
You must also give the group of days a 1 to 20-character day name (the day name can contain blanks). When creating the collection of days, you can select from: MON, TUE, WED, THU, FRI, SAT, and SUN.
For example, you can select the days MON, TUE, WED and THU and name this collection PRODUCTION DAYS. You can use the name PRODUCTION DAYS on the Schedules dialog to specify that an object is active or inactive on every Monday, Tuesday, Wednesday, and Thursday.
Another example is to select WED, SAT, and SUN and name this selection BACKUPS. When BACKUPS is specified, the object will be active (or inactive) on Wednesdays, Saturdays, and Sundays.
In addition, TOM provides the entries WKN (Saturday and Sunday), WKD (weekdays (Monday through Friday), and DLY (every day of the week) that you can use in object definitions.
A user-specified From and To set of dates and times of day.
You must give a period a 1 to 20-character name (the period name can contain blanks). You can specify a range of dates (in From yyyy/mm/dd, To yyyy/mm/dd format) and times (in From hh:mm, To hh:mm format).
For example, you can create a period named MARCH from 09:00 on 2008/03/01 to 17:00 on 2008/03/31. You can use the MARCH period on the Schedules dialog to specify that an object is active (or inactive) from 9:00 AM, March 1, 2008 to 5:00 PM, March 31, 2008.
ALWAYS is the name of a period supplied by TOM that when used, means the object will be always available or always unavailable.
Valid date formats are determined by the date format setting for MainView Windows mode parameters (option 0.1.4 from the MainView Selection Menu). The year portion of the date can be specified as 1 to 4 asterisks to indicate any year (wildcard year). See the MainView User Guide for more information about the date format.
A user-specified time of day.
You can select and name a time (in From hh:mm, To hh:mm format) that you can use on the Schedules dialog to specify when an object should be active or inactive. The time name can be up to 20 characters long and can contain blanks.
For example, you can create a time named LUNCH from 13:00 to 14:00. You can use the LUNCH time on the Schedules dialog to specify that an object is active (or inactive) from 1:00 PM to 2:00 PM.
A named collection of any combination of already created periods, days, or times.
A set name can be up to 20 characters long and can contain blanks. Creating a set allows you to group periods, days, or times when multiple objects need to be active (or inactive). Sets can be especially useful when a group of objects all have the same complicated schedule because you only have to specify the schedule for the set once and not for each object individually.
AND logic is used within a calendar set, so all members of the set must evaluate as true for the result to be true.
A term you will see while defining the following object definitions for an object on the object ADD or EDIT dialog:
Specifies that the object status should be ACTIVE or that the commands with the calendar dependency will be issued during the entered periods of time.
Specifies that the object status should be STOPPED or that the commands with the calendar dependency will not be issued during the entered periods of time.