How to set all the jobs from the same Application or Group to inactive
search cancel

How to set all the jobs from the same Application or Group to inactive

book

Article ID: 200793

calendar_today

Updated On:

Products

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

Issue/Introduction

We need to set all the jobs from the Same Application or the Same Group to inactive.

But this does not work as expected when some jobs are set to on_noexec status. 

Environment

Workload Automation AE (AutoSys)

Resolution

The recommended solution solution to run the “sendevent -E JOB_OFF_NOEXEC ...” before the “sendevent -E CHANGE_STATUS -s INACTIVE ...” in order to address the encountered issue

Example:

$ sendevent -E JOB_OFF_NOEXEC -B ABCD123%

$ sendevent -E CHANGE_STATUS -s INACTIVE -B ABCD123%


$ sendevent -E JOB_OFF_NOEXEC -I ABCD123%

$ sendevent -E CHANGE_STATUS -s INACTIVE -I ABCD123%