release job
You can use the release job command to release normal and time dependencies from a job.
Overview
You can apply the release job to jobs that are waiting for the resolution of a dependency. The status of such jobs are marked as HOLD status. When you run the command, the dependency is removed for only the job that is in progress. When you rerun the same job, the dependency persists. To remove the dependency permanently from a job, see deldep job. You must have the release access to the job to release dependencies.
Syntax and command line options
Before you run the command, you must specify the details of the command line options such as job name, dependencies and required permissions. You can enter the command as follows:
ocli plan release job | rj jobselect dependency [;noask]
You can add a dependency according to the specific results you want to accomplish. The details that are required with each parameters are as follows:
- jobselect
-
Specify the job to update, by using attributes and qualifiers.
For example, enter the following command
WA_AGT_0#JOB_STREAM.JOB
.
- dependency
- Specify the type of dependency and add at least one to complete the command. The types of dependencies that you can be use to create the command line are listed in the following table:
Command | Reference |
---|---|
at
time[timezone | tz
tzname][+n day[s]
| mm/dd |
mm/dd/yy] |
at |
deadline
time [timezone | tz
tzname][+n day[s]
| mm/dd |
mm/dd/yy] |
deadline |
every
rate [+n day[s] |
mm/dd |
mm/dd/yy] |
every |
follows
[[folder/]workstation#][folder/]{jobstreamname[hhmm
[mm/dd[/yy]]][.job | @] |
jobstream_id.job;schedid}| job[,...]
[if 'condition_name[|
condition_name][| ...]']
|
follows |
until time
[timezone|tz
tzname][+n day[s]]
[;onuntil action] |
until and onuntil |
When you add the noask option as an argument, the agent does not ask for confirmation before it acts on each qualifying item.
Examples
- To release the
job3
job in theap(1000 03/05/18)
job stream, stored in the myfolder folder, from all its dependencies, run the following command:ocli plan rj myfolder/ap(1000 03/05/18).job3
- To release all jobs defined in the
site4
workstation from their dependencies, in thews1
workstation, run the following command:ocli plan rs site4#@ follows ws1.@