How to useTimezone for different jobs and events.

Document ID : KB000095114
Last Modified Date : 14/05/2018
Show Technical Document Details
Introduction:
Can I use defined TIMEZONES as a criteria for EARLYSUB parameter within specific jobs. Also can it be used on the SCHEDULE statement in an event definition.
Instructions:
RESOLUTION: Once a timezone is defined in ESP parameters these 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 RCBJOBE.TEST RUN DAILY EARLYSUB 8PM CST ENDJOB EXAMPLE2: Coding CST on SCHEDULED statement for an event. EVENT ID(BABRI02.TESTRUNA) SYSTEM(X114M) REPLACE INVOKE 'BABRI02.ESP.TESTPROC(TESTRUNA)' schedule 8pm cst daily ENDDEF returns the following results. EVENT ID(BABRI02.TESTRUNA) SYSTEM(X114M) REPLACE SCHEDULE 20.00 CST DAILY STARTING TUE 8TH MAY 2018 INVOKE 'BABRI02.ESP.TESTPROC(TESTRUNA)' ENDDEF