Previous Topic

Next Topic

Complete a job (complete/job or compjob)

COMPLETE performs the final stage of a job run.

The COMPLETE command completes the final stage of a job run. The job's command list is not processed, nor are any resource or end action list commands. The job will appear as a successful completion in the P (Holding previous completions) queue and initiates will be submitted if the /INIT qualifier is used in combination. If the command is used to recover from a previous job run, the set id of the previous run should be designated to insure proper job flow.

Windows/OpenVMS Format:

complete/job job_name [/qualifiers]

UNIX/Linux Format:

compjob job_name [-qualifiers]

Qualifier Summary

General Qualifiers:

/[no]log or -[no]log

/[no]confirm or -[no]confirm

/node or -node = target_node

Complete Conditions:

/initiates or -initiates

/noinitiates or -noinitiates (default)

Restart Step Controls:

/step or -step = number

Job Set Controls:

/set_tag or -set_tag = "string"

/set_parameter or -set_parameter = "string"

/set_id or -set_id = number

Examples

Windows:

Schedule> complete/job \jkrieg\backup_job

OpenVMS:

Schedule> complete/job [jhrieg]

UNIX/Linux:

Schedule> compjob /jkrieg/backup_job

Qualifiers

/[no]confirm or -[no]confirm

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

/hostname or -hostname =host_name

The qualifier specifies what node (either local or remote) you want the operation performed on.

/[no]log or -[no]log

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

/[no]initiates or -[no]initiates

This indicates whether or not on completion of the job the initiate list should be carried out.

/set_id or -set_id

The SET_ID qualifier indicates to what set the job belongs. If a number is not provided then the system automatically assigns the next available set number.

/set_parameter or -set_parameter ="text"

The SET_PARAMETER qualifier specifies information to be passed from one job to another inside a set of jobs.

/set_tag or -set_tag ="text"

The SET_TAG qualifier also specifies information to be passed from one job to another inside a set of jobs.

/step or -step =number

The STEP qualifier indicates at which step to start the job.

See Also

JOB commands

Copy a job (copy/job or cpjob)

Create a job (create/job or mkjob)

Delete a job (delete/job or rmjob)

Display job properties (directory/job or lsjob)

Edit a job's lists (edit/job or edjob)

Extract a job's list data (extract/job or extjob)

Increment a job's next start time (increment/job or incjob)

Insert data into a job (insert/job or insjob)

Modify a job's properties (modify/job or chjob)

Rebuild job dependencies (rebuild/job or rebjob)

Rename a job (rename/job or mvjob)

Signal a scheduling event (signal/job or sigjob)

Submit a job for execution (submit/job or subjob)

Type a job's data lists (type/job or more)