kill
You can use the kill command to stop a job in progress.
Overview
When you use the kill command, the action is performed by HCL Workload Automation production process, so there might be a short delay.
The jobs that are stopped by the kill command are finished in the
ABEND state. Any jobs or job streams that are dependent on these
jobs are not released and you can rerun them.
Restriction: When the command
is submitted, the agent will not ask for your confirmation before taking action
on each jobs.
Syntax and command line options
Before you run the command, you must specify options such as job stream name, dependencies, and
required permissions. you can enter the command as
follows:
ocli plan kill | k = <jobselect><noask>
The details that are required with each parameters are as follows:
jobselectSpecify the job to update, by means of attributes and qualifiers.
For example,
WA_AGT_0#JOB_STREAM.JOB
.
When you add the option as an argument the agent will not ask for confirmation before taking action on each qualifying job.
Examples
- To stop the job
report
in job streamapwkly(0600 03/05/06)
on workstationsite3
, run the following command:ocli plan kill site3#apwkly(0600 03/05/06).report
- To stop the job number
124
running on workstationgeneva
, run the following command:ocli plan kill geneva#124