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:
kill | k = <jobselect><noask>

The details that are required with each parameters are as follows:

jobselect

Specify the job to update, by means of attributes and qualifiers.

For example, WA_AGT_0#JOB_STREAM.JOB.

noask

When you add the option as an argument the agent will not ask for confirmation before taking action on each qualifying job.

Examples

  1. To stop the job report in job stream apwkly(0600 03/05/06) on workstation site3, run the following command:
    kill site3#apwkly(0600 03/05/06).report
  2. To stop the job number 124 running on workstation geneva, run the following command:
    kill geneva#124