Can I use defined TIMEZONES as a criteria for EARLYSUB parameter within specific jobs. Can it also be used on the SCHEDULE statement in an event definition.
Release: All
Component: ESP Workload Automation
Once a timezone is defined in ESP parameters they can be used in both EARLYSUB in an application, and on the SCHEDULED statement for an Event.
EXAMPLE1: Coding EARLYSUB to schedule at 8pm CST.
JOB MYJOB.TEST
RUN DAILY
EARLYSUB 8PM CST
ENDJOB
EXAMPLE2: Coding CST on SCHEDULED statement for an event.
EVENT ID(CYBER.TESTRUNA) SYSTEM(ESPM) REPLACE
INVOKE 'ESP.TESTPROC(TESTRUNA)'
SCHEDULE 8PM CST DAILY
ENDDEF
Returns the following results:
EVENT ID(CYBER.TESTRUNA) SYSTEM(ESPM) REPLACE
SCHEDULE 20.00 CST DAILY STARTING TUE 8TH MAY 2018
INVOKE 'ESP.TESTPROC(TESTRUNA)'
ENDDEF