cDSCHEDULE Automated Job Submission System Guide and Reference �ManualD

SCHEDULE
Automated Job Submission System
Guide and Reference Manual



 o T Y  
PreviousContentsIndex

;

4.3.1 The CREATE/JOB command



HThe CREATE command is an easy way to create a job entry. If you need to Gset a number of modifying parameters about the days, dates or times of Fsubmission add qualifiers. DCL commands , prerequisites and initiates Gcan be added after the job has been created by using the SCHEDULE EDIT command.

FSCHEDULE CREATE is the basic command for building schedules. The real Fpower of this command is in the multiplicity of qualifiers, which set Fvarious parameters. The format of SCHEDULE CREATE command is:

 

"
 +$ SCHEDULE CREATE/JOB job_name /qualifiers    




*Commonly used qualifiers are listed in

i  &                                              
Table 4-1 Commonly used job qualifiers
Field Description
& /GEN=COMMENT:``any text string'' > Any useful description, up to 100 characters in length.
 /GEN=RESTART:number N The number of automatic restarts allowed if the job fails. The default # is 0 or no-restarts allowed.
 /GEN=NEXT_SUBMIT:date H Next date and time that a job will be submitted for execution at.
 /SUB=QUEUE:name 6 Name of the batch queue to submit the job into.
( /SUB=PARAMETER:(``p1'',``p2'',...) C Parameter values to pass to the job when submitting the job.
 /SUB=PRIORITY:number A Queue priority to use when enter job into VMS batch queue.
 /RESCH=INTERVAL:delta G Time interval to add to start time to arrive at next start time.
 /RESCH=MARKED:letter 9 Letter indicating which days to submit the job on.
 /RESCH=NAMED:names J Indicates on what days a job is to start on given their names. The F known names are MONDAY through SUNDAY, MONTH_START, MONTH_END,  YEAR_START and YEAR_END.
0 /RESCH=TIME_OF_DAY:<pm symbol> delta F Time of day offset interval, used with NAMED or MARKED methods.
 /RESCH=CALENDAR:name J The name of the calendar to use when selecting the next start time.
9

4.3.2 The COPY/JOB command



HThe COPY command is the simplest way to create a job, but also the most Hlimited, in that there must already be a similar job available to copy. HYou use SCHEDULE COPY to copy the existing job to another name Fcalled the target job. SCHEDULE COPY copies everything about Fthe source job to the target job: parameters, a prerequisite list, an <initiate list, and DCL commands. Then you can make whatever Gmodifications you want to the copy, using the commands MODIFY, INSERT, or EDIT.

The format for COPY is:

 

"
 6$ SCHEDULE COPY/JOB source_job target_job /qualifiers    


 




 o V T Y  
PreviousNextContentsIndex