Introduction:
The CALENDAR statement is normally used at the EVENT level but it can be used at the application level prior to the job definition. An application can have 2 different calendars plus the SYSTEM calendar defined. When a CALENDAR is processed in the application it will remain in effect until the next CALENDAR statement is processed.
Background:
Usually the CALENDAR statement is used at the EVENT level. It can also be used at the application level for individual jobs.
Environment:
CA Workload Automation ESP Edition r11.4
Instructions:
Add the ESPNOMSG CALENDAR command at the APPLICATION level before the JOB definition. All following jobs will use that calendar. It is possible to switch back and forth between several calendars in the appl.
ESPNOMSG CALENDAR SYSTEM
JOB DPTST001.A
RUN WED PLUS 0 WORKDAYS
ENDJOB
ESPNOMSG CALENDAR B
JOB DPTST001.B
RUN WED PLUS 0 WORKDAYS
ENDJOB
Additional Information:
The CALENDAR statement in documented in the CA Workload Automation ESP Command Reference Guide.