How to terminate an old run of a job?
search cancel

How to terminate an old run of a job?


Article ID: 116735


Updated On:


CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent


We have an old run of a job showing in WCC with a status of 'running' from back in March. 

The job has run every day since then but still shows the old status of running.  

Is there any way to change this status from this specific job run? 


Component: ATSYS


The easiest and fastest way to get rid of these old Job runs stuck in Running status during several months while the script is no longer running is to:

-  extract the job definition with 'autorep -J <job> -q'

-  delete it with 'jil , delete_job: job'

-  insert it again with jil with the output of the previous  'autorep -J <job> -q'

Additional Information

Indeed, before doing these steps,

- ensure the current run of the job has finished

- check also if there is no dependent job which might be executed as soon as the job is deleted

- if there are job dependent conditions, put these jobs on hold

- to check job dependencies, use the job_depends utility at