What is the command I can run to issue a calendar override?
If a job has a run calendar, can I also give it an exclude calendar with holidays not to run ?
What happens if its run calendar dates match its exclude calendar date ?
Release : 11.3.5
Component : CA Workload Automation AE (AutoSys)
You can override the run_calendar entry in the job definition if needed.
But you do not override a date in a calendar, you would actually change
the calendar itself (and it would impact all jobs that use that calendar).
If you have a job that has the EXACT same dates in the run_calendar and exclude_calendar
the job can still be inserted it just has no future startjob events scheduled.
Example:
wheelA and wheelB both have just a single date of 12/22/2022
and I try to insert this job:
insert_job: axl-2
job_type: b
date_conditions: 1
start_times: 12\:00
run_calendar: wheelA
exclude_calendar: wheelB
here is what I see:
CAUAJM_I_50323 Inserting/Updating job: axl-2
CAUAJM_W_10119 Calendar 'wheelA' has no more valid dates.
CAUAJM_W_10120 Job 'axl-2' can no longer be scheduled because it uses a calendar without any available dates.
CAUAJM_I_50205 Database Change WAS Successful!
______________________________________________________________________________
CAUAJM_I_52301 Exit Code = 0
______________________________________________________