How to define different calendar in same ESP application
search cancel

How to define different calendar in same ESP application

book

Article ID: 42123

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

How to switch between calendars in the application? 

Resolution

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