ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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) CA Workload Automation AE

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

Release : 11.3.6

Component : CA 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 EDWDUM%

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


$ sendevent -E JOB_OFF_NOEXEC -I EDWDUM%

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