kill
You can use the kill command to stop a job in progress.
Overview
When you stop jobs by using the kill command, the stopped jobs are finished in the ABEND state. Jobs or job streams that are dependent on these jobs, are not released. You can later run the jobs 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 job to update, by using attributes and qualifiers.
For example, enter the following command
WA_AGT_0#JOB_STREAM.JOB
.
- 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
report
job in theapwkly(0600 03/05/06)
job stream on thesite3
workstation, run the following command:ocli plan kill site3#apwkly(0600 03/05/06).report
- To stop the
124
job that is running on thegeneva
workstation, run the following command:ocli plan kill geneva#124