Job will not respond to Kill
search cancel

Job will not respond to Kill

book

Article ID: 239400

calendar_today

Updated On:

Products

Autosys Workload Automation CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation AE - System Agent (AutoSys)

Issue/Introduction

Job will not respond to Kill in CA Workload Automation AE.
It will not respond to command sendevent -E KILLJOB <name of job> -j either

results of autorep -j <name of job> -d

Job Name                                                         Last Start           Last End             ST/Ex Run/Ntry Pri/Xit
________________________________________________________________ ____________________ ____________________ _____ ________ _______
<name of job>.                                                        04/05/2022 10:25:00  -----                RU    427589/1        

  Status/[Event]  Time                 Ntry ES  ProcessTime           Machine
  --------------  --------------------- --  --  --------------------- ----------------------------------------
  STARTING        04/05/2022 10:25:00    1  PD  04/05/2022 10:25:00   <name of machine>
  RUNNING         04/05/2022 10:25:00    1  PD  04/05/2022 10:25:01   <name of machine>
    <Executing at WA_AGENT>
  [KILLJOB]       04/05/2022 10:44:56    0  PD  04/05/2022 10:44:57   
  [*** ALARM ***]
    KILLJOBFAIL   04/05/2022 10:44:57    1  PD  04/05/2022 10:44:58   <name of machine>
    <Process does not exist>
  

Environment

Release : 11.3.6

Component : AutoSys

Resolution

The reason why the sendevent -E KILLJOB -J <name of job> is not working is because the agent process for that job on the machine that the job runs on is no longer running. You can go to the machine where the job is run on any verify that the process for that job is no longer there. After verifying that the process is not there, you can manually change the status of the job.