deldep job
You can use the deldep jobcommand to delete the dependencies from a job.
Overview
To remove the dependencies from a job, you must have the deldep access to the job. For more information about security access roles, see Security role definition.
Syntax and command line options
Before you run the command, you must specify options such as job name, dependencies, and required
permissions. You can enter the command as
follows:
ocli plan deldep job | ddj = <jobselect><dependency><noask>
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:.
jobselectSpecify the job to update, by means of attributes and qualifiers.
For example,
WA_AGT_0#JOB_STREAM.JOB
.
Specify the type of dependency and you must add
at least one to complete the command. You can use wildcard characters in
workstation
, jstream
, job
,
resource
, filename
, and
promptname
. When you rerun the job, the
deleted dependencies are not considered.
Restriction: Do not use a wildcard character when
you want to delete all the
follow
dependencies from the jobs
contained in a specific job
stream.follows=job_stream_name.@
The command will be rejected.The type of dependencies that can be used to create the
command line are listed below.
noask\Command | Reference |
---|---|
at= time[timezone | tz][+n day[s] | [mm/dd |
mm/dd[/yy]] |
at |
deadline= time [timezone | tz][+n day[s] | [mm/dd |
mm/dd[/yy]]] |
deadline |
follows=[workstation#]{jobstreamname[time
[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 |
confirmed |
confirmed |
When you add the option as an argument the agent will not ask for confirmation before taking action on each qualifying job.
Examples
- To delete all external follows dependency from job stream
CPUA#TEST(0900 02/19/06)
, run the following command:ocli plan ddj=CPUA#TEST(0900 02/19/06).JOBA ; follows