Unable to set jobs to JOB_OFF_NOEXEC

book

Article ID: 77108

calendar_today

Updated On:

Products

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

Issue/Introduction



We attempted to send a JOB_OFF_NOEXEC event to a job but encountered errors.
Example:
sendevent -E JOB_OFF_NOEXEC -J job123
--- exceprt from the event_demon log ---
[04/23/2018 09:43:57]      CAUAJM_I_40245 EVENT: JOB_OFF_NOEXEC   JOB: job123
[04/23/2018 09:43:57]      CAUAJM_E_40045 Cannot take job <job123> off ON_NOEXEC because it is not ON_NOEXEC.
[04/23/2018 09:43:58]      CAUAJM_I_40245 EVENT: ALARM            ALARM: JOBNOT_ONNOEXEC  JOB: job123
[04/23/2018 09:43:58]      <This job is not ON_NOEXEC.>
--- 

 

Environment

Release: ATWATM99000-11.3.6-Workload Automation AE-Test/Development Server-MSP
Component:

Resolution

This is expected behavior if the JOB_OFF_NOEXEC event is sent to a job that is in any state other than NOEXEC.

For more job status details please refer to the Workload Automation AE product documentation:
https://docops.ca.com/ca-workload-automation-ae/11-4-2/en/reference/ae-commands/control-workload/sendevent-command-change-the-executable-status-of-a-job