Previous Topic

Next Topic

Create a new job

The create/job or mkjob command creates a new job entry using the DEFAULT job attributes.

Examples

Windows/OpenVMS:

Schedule> create/job run_dlc_report /gen=comment:"Run the report" /notify=failed:"mikel"

UNIX/Linux:

Schedule> mkjob run_dlc_report -gen=comment:"Run the report" -notify=failed:"mikel"

What it does: Create a job with a comment that notifies the user "mikel" on failure.

Commonly used qualifiers

Commonly used qualifiers are listed in the following table.

Windows/OpenVMS

UNIX/Linux

Description

/gen=comment:``any text string''

-gen=comment:``any text string''

Any useful description, up to 100 characters in length.

/gen=restart:number

-gen=restart:number

The number of automatic restarts allowed if the job fails. The default is 0 or no-restarts allowed.

/gen=next_submit:date

-gen=next_submit:date

Next date and time that a job will be submitted for execution at.

/sub=queue:name

-sub=queue:name

Name of the batch queue to submit the job into.

/sub=parameter:("p1'',"p2'',...)

-sub=parameter:("p1'',"p2'',...)

Parameter values to pass to the job when submitting the job.

/sub=priority:number

-sub=priority:number

Queue priority to use when enter job into VMS batch queue. (VMS based jobs only)

/resch=interval:delta

-resch=interval:delta

Time interval to add to start time to arrive at next start time.

/resch=marked:letter

-resch=marked:letter

Letter indicating which days to submit the job on.

/resch=named:names

-resch=named:names

Indicates on what days a job is to start on given their names. The known names are MONDAY through SUNDAY, MONTH_START, MONTH_END, YEAR_START and YEAR_END.

/resch=time_of_day:delta

-resch=time_of_day:delta

Time of day offset interval, used with NAMED or MARKED methods.

/resch=calendar:name

-resch=calendar:name

The name of the calendar to use when selecting the next start time.

See Create a job (create/job or mkjob) for a detailed description of this command.

See Also

Common Command Examples

Modify a job's properties

Modify all jobs using wildcards

Display job properties

Delete a job

Copy an existing job

Edit job list data

Extract the entire database

Insert an extracted database

Type job list data

Submit a job

Create a new directory

Create a calendar

Display history

Monitoring activity