CA Workload Automation ESP Edition

Expand all | Collapse all

New Time zone

  • 1.  New Time zone

    Posted 05-16-2019 06:32 PM

    Hi All , I have been asked to schedule an event based on different time zone (IST) .Currently the local system time in mainframe is Central time. 

     

    Time zone (IST) has been defined 

     

     

    I have created a below test event

     

    EVENT ID(DP.DALD_PUSHTEST) SYSTEM(DALD) REPLACE

    SCHEDULE 02.00 IST MONTHLY STARTING TUE 21ST MAY 2019

    INVOKE 'DPCJCDS0.ESPWORK.PROC(PUSHTEST)'

     

    EVENT                           NEXT DUE AT           LAST RUN  SYS    HC  SC

    DP.DALD_PUSHTEST ,15.30.00 2019/05/20 ,2019/04/20  DALD , 0 ,   ,0 ,

     

    Question 1:

     

    We used SYSZONE(NO) so it does not spring forward and fall back along with to the system time.

     

    Now the event is running at 2 am IST and 3.30 pm CT , Daylight saving ends on Nov 3rd .After that , event should run at 2 am IST and 2.30 pm CT. Basically IST should not change but CT should change. Above setup will work in the desired way right?

     

    Question 2:

     

    Is there any way to test it ? because when I check the next run after Nov 3rd it still shows 3.30 pm CT as below

     

    NEXT 99 DP.DALD_PUSHTEST

    SCHED AT 15.30.00 ON MONDAY MAY 20TH, 2019

    SCHED AT 15.30.00 ON THURSDAY JUNE 20TH, 2019

    SCHED AT 15.30.00 ON SATURDAY JULY 20TH, 2019

    SCHED AT 15.30.00 ON TUESDAY AUGUST 20TH, 2019

    SCHED AT 15.30.00 ON FRIDAY SEPTEMBER 20TH, 2019

    SCHED AT 15.30.00 ON SUNDAY OCTOBER 20TH, 2019

    SCHED AT 15.30.00 ON WEDNESDAY NOVEMBER 20TH, 2019

    SCHED AT 15.30.00 ON FRIDAY DECEMBER 20TH, 2019

    SCHED AT 15.30.00 ON MONDAY JANUARY 20TH, 2020

    SCHED AT 15.30.00 ON THURSDAY FEBRUARY 20TH, 2020



  • 2.  Re: New Time zone

    Posted 05-17-2019 11:29 AM

    Hi Pushparaj,

     

    #1. You are correct.

    #2. Now there is no way to test it, since the system time hasn't been changed.

     

    Hope this helps,

     

    Lucy



  • 3.  Re: New Time zone

    Posted 05-17-2019 12:00 PM

    Hi Pushparaj,

     

    Well, for #2, if you can mess up with this ESP system, you may be able to test it out by add TIMEREF on TIMEZONE parm in ESPPARM:

    TIMEZONE 0  LOCAL   1W  SYSZONE(YES) TIMEREF(SYSTIME-1.00)

     

    This will simulate (to some extent) to normal time(instead of the daylight saving time).  After ESP is recycled, you will notice the offset for IST won't change; its offset should be related to GMT time, not the local time.

     

    Hope this helps,

     

    Lucy