jskill command

Purpose

You can use the jskill command to stop job steps that are running or pending.

Syntax

jskill [OPTION] <list of job steps | all | shutdown>

Description

If you have job steps from the IBM® Job Step Manager (JSM) that are in a running state or a pending state, you can use the jskill command to terminate or signal the job steps.

Options

Examples

  1. To terminate all job steps that are in a running state and removes all queued job steps from JSM, run the jskill all command.
  2. When you run the jslist command, output displays the following

         parent         cpus     exit
    ID     ID    nrs   per RS   status   status
    =============================================
    1      0      1       3       0      Running
    2      1      1       3       0      Running
    3      1      2       3       0      Running
    4      0      1       3       0      Running
    

In this example to terminate job step 1 and the corresponding children job steps 2 and 3, run the jskill -i 1 command. To terminate only job step 1, run the jskill 1 command.


See also

jsrun(1), jslist(1), jswait(1)

Parent topic: Job Step Manager commands