release job

You can use the release job command to release normal and time dependencies from a task.

Overview

You can apply the release job to tasks that are waiting for the resolution of a dependency. The status of such tasks are marked as HOLD status. When you run the command, the dependency is removed for only the task that is in progress. When you rerun the same task, the dependency persists. To remove the dependency permanently from a task, see deldep job. You must have the release access to the task 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 task 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 task to update, by using attributes and qualifiers.

For example, enter the following command WA_AGT_0#WORKFLOW.TASK.

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
noask

When you add the noask option as an argument, the agent does not ask for confirmation before it acts on each qualifying item.

Examples

  1. To release the task3 task in the ap(1000 03/05/18) workflow, stored in the myfolder folder, from all its dependencies, run the following command:
    ocli plan rj myfolder/ap(1000 03/05/18).task3
  2. To release all tasks defined in the site4 workstation from their dependencies, in the ws1 workstation, run the following command:
    ocli plan rs site4#@ follows ws1.@