deldep sched
You can use the deldep sched command to delete the dependencies from a job stream.
Overview
To use the deldep sched command to remove the dependencies from a job stream, you must have the deldep access to the job stream.
Syntax and command line options
Before
you run the command, you must specify details of the command line options such as
job stream name, dependencies, and required permissions. You can enter the command
as
follows:
ocli plan deldep sched | dds jstreamselect dependency [;noask]
Important: The jstreamselect and
dependency parameters are mandatory.
You can add dependeniesy according to the specific results you want to accomplish. The details that are required with each parameters are as follows:
- jstreamselect
-
Specify the job stream to update, by means of attributes and qualifiers.
- dependency
- Specify the type of dependency. You must add at least one dependency to run
the command. When you rerun the job stream, the deleted dependencies are not
considered. Restriction: Do not use wildcard characters to delete the
follows
dependency. The command is rejected.
The dependencies type that you can use to create the command as follows:
noaskCommand | 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 |
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.
Example
- To delete all follows dependencies from job stream
sched2(0800 04/13/05)
, run the following command:ocli plan dds sched2(0800 04/13/05);follows