kill
You can use the kill command to stop a task in progress.
Overview
When you stop tasks by using the kill command, the stopped tasks are finished in the ABEND state. Tasks or workflows that are dependent on these tasks, are not released. You can later run the tasks that are in ABEND state.
Syntax and command line options
ocli plan kill | k jobselect [;noask]The details that are required with each parameters are described below.
- jobselect
-
Specify the task to update, by using attributes and qualifiers.
For example, enter the following command
WA_AGT_0#WORKFLOW.TASK.
- 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
- To stop the
reporttasks in theapwkly(0600 03/05/06)workflow on thesite3workstation, run the following command:ocli plan kill site3#apwkly(0600 03/05/06).report - To stop the
124tasks that is running on thegenevaworkstation, run the following command:ocli plan kill geneva#124