Task Functions
- 1 Overview
- 2 Cancel Task
- 3 Clear All Dependencies
- 4 Clear Virtual Resource Dependencies
- 5 Clear Exclusive Dependencies
- 6 Clear Time Dependency
- 7 Display All Tasks
- 8 Display Task Instance Status
- 9 Force Finish a Task
- 10 Launch a Task
- 11 Put Task on Hold
- 12 Release a Task from Hold
- 13 Rerun a Task
- 14 Set Manual Task to Started
- 15 Set Manual Task to Success
- 16 Set or Modify Wait Time for a Task Instance
- 17 Set Task Priority
- 18 Skip a Task
Overview
The command line syntax for each execution of the CLI command, uagcmd, must specify a single CLI function, required / optional Global parameters, and required / optional function-specific parameters. You must use the required Global parameters to connect to OMS Servers and to log on to a Controller (User ID and Password).
Universal Controller supports the following CLI functions for Tasks, which are listed alphabetically on this page.
Syntax, parameters, and examples for each function are provided.
Cancel Task
Description | Cancels the specified task instance. |
|---|---|
Syntax |
Note For backward-compatibility, you can exclude |
Parameter |
Deprecated Replaced by
|
Example |
|
Clear All Dependencies
Description | Clears all dependencies of a task instance. |
|---|---|
Syntax |
|
Parameters |
|
Example |
|
Clear Virtual Resource Dependencies
Description | Clears all virtual resource dependencies of a task instance. |
|---|---|
Syntax |
|
Parameters |
|
Example |
|
Clear Exclusive Dependencies
Description | Clears all exclusive dependencies of a task instance. |
|---|---|
Syntax |
|
Parameters |
|
Example |
|
Clear Time Dependency
Description | Clears the time dependency of a task instance. |
|---|---|
Syntax |
|
Parameters |
|
Example |
|
Display All Tasks
Description | Displays all specified tasks. |
|---|---|
Syntax |
Note For backward-compatibility, you can exclude |
Parameters |
|
Example |
|
Display Task Instance Status
Description | Displays the status of all task instance(s) associated with the specified task. |
|---|---|
Syntax |
Note For backward-compatibility, you can exclude |
Parameters |
Deprecated Replaced by
|
Example |
|
Task Instance Status Types
The following table describes all possible task instance statuses for all task types.
Note
The format of multi-word task status names specified in the Task Instance Status CLI function differs from the format of task status names used in the Controller user interface. In Task Instance Status, the words are separated by an underscore character; in the user interface, they are separated by a space.
Status Name | Status Code | Task Type | Description |
|---|---|---|---|
Action_Required | 60 | Manual | When a manual task launches, it goes into Action Required status, meaning a user must perform some manual activity. For details, see Manual task. |
Cancel_Pending | 99 | A process running on the Agent needs to be terminated. When the Cancel command is issued, the task instance will go into a Cancel Pending status until the Agent reports back that the process has been cancelled. At that point, the task instance will transition into the Cancelled status. | |
Cancelled | 130 | All | The task was cancelled by a user. |
Confirmation_Required | 125 | z/OS |