How to switch between calendars in the application?
Add the ESPNOMSG CALENDAR command at the APPLICATION level before the JOB definition.
All following jobs will use that calendar, which can switch back and forth between calendars in the application.
APPL TESTCAL
JCLLIB '<hlq.xxx.libr>'
ESPNOMSG CALENDAR SYSTEM
JOB JOBX.A
RUN WED PLUS 0 WORKDAYS
ENDJOB
ESPNOMSG CALENDAR B
JOB JOBX.B
RUN WED PLUS 0 WORKDAYS
ENDJOB