cDSCHEDULE Automated Job Submission System Guide and Reference �ManualD

SCHEDULE
Automated Job Submission System
Guide and Reference Manual



 o T Y  
PreviousContentsIndex




D

Chapter 6
CALENDAR data operations




EIn SCHEDULE number of calendars can be defined. Some can be Fsetup to be used system wide. Others just to be used by jobs inside a Fparticular directory. The main purpose of a calendar definition is to =assist in determining when to automatically reschedule a job.

HFor example you have a job that is to run every 3 days. Along with this Ginterval you define a calendar which describes which days are allowed. BThis job may not be allowed to run on weekends. These two bits of Dinformation are used to control this automatic rescheduling process.

ECalendar data is managed and maintained using the following commands. " &                              
Command Description
 COPY/CALENDAR Copy a calendar definition
 CREATE/CALENDAR & Create a new calendar definition
 DELETE/CALENDAR " Delete a calendar definition
 DIRECTORY/CALENDAR % List known calendar definitions
 MODIFY/CALENDAR " Modify a calendar definition
 RENAME/CALENDAR " Rename a calendar definition
 TYPE/CALENDAR ' Type out the days in the calendar


DWhen a calendar is mentioned in a job definition it is found by the following method:





HOnce a calendar has been found the flag settings are examined to see if Fone of the HOLIDAY flags is set. If so, a HOLIDAY calendar is located Gusing the same three steps listed above. Once the holiday calendar has Ebeen found it is merged into the selected calendar to form the final ,calendar that will be used for rescheduling.


G

COPY/CALENDAR



Copy a calendar file.

DThe COPY command will copy a calendar definition into another named calendar definition.




General Format

7

COPY/CALENDAR from_name to_name [/qualifiers]



Alternate

%CPCAL [/qualifiers] from_name to_name



qualifier summary

/[NO]LOG
/[NO]CONFIRM
/NODE = node_name



Examples

 6    
#1

 
 8$ SCHEDULE COPY/CALENDAR [DST]WEEKDAYS [SDEY]WKDAYS/LOG  & copied [dst]weekdays to [sdey]wkdays          





Qualifiers



/CONFIRM



/NOCONFIRM

ECONFIRM requests that the user be prompted prior to any operation to 2verify that the selected entry is the correct one.

/NODE=target_node

DThe NODE qualifier specifies what NODE (either local or remote) you Hwant the operation performed on. /HOSTNAME may be substituted for /NODE.

/LOG



/NOLOG

EThe LOG qualifier causes each completed operation to issue a note to the user.





 o V T Y  
PreviousNextContentsIndex