deldep job
You can use the deldep job command to delete the dependencies from a job.
Overview
To use deldep job command to remove the dependencies from a job, you must have the deldep access to the job.
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 deldep job | ddj jobselect dependency [;noask]
Important: The jobselect and
dependency are mandatory parameters.
You can add the 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. You must add at least one dependancy to complete the command. When you rerun a job, the deleted dependencies are not considered.Restriction: Do not use a wildcard character to delete all the
follow
dependencies from the jobs contained in a specific job stream.
If you use a wildcard character in such a command, the command is rejected.follows=job_stream_name.@
The dependencies type that you can use to create a command are listed as
follows.
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 |
maxdur time
[onmaxdur action] |
maxdur |
mindur time
[onmindur action] |
mindur |
until time
[timezone|tz
tzname][+n day[s]]
[;onuntil action] |
until and onuntil |
- [;noask]
-
When you add the noask option as an argument, the agent does not ask for confirmation before it acts on each qualifying item.
Example
- To delete all external follows dependency from the
CPUB#TEST(0100 04/11/07)
job stream, run the following command:ocli plan ddj=CPUB#TEST(0100 04/11/07).JOBA ; follows