At 15:57 -0500 on 03/14/2009, Paul Gilmartin wrote about Re: Time Change (Sync):

On Sat, 14 Mar 2009 16:07:31 -0400, Robert A. Rosenberg wrote:

Since the time change only needs to occur twice a year, it should not
be that hard to have a started task running that will update CVTLDTO
when 2AM on a switch morning occurs. The task is fired off at
midnight on a switch day and then waits for 120 minutes to do its
thing and exit.

Good.  You avoided the loop pitfall that has been known to
trap some programmers.

But does the SET TIMEZONE operator command have any additional
effects that this process would omit?  The first think of is
making necessary adjustments for clock comparator values for
STIMER LT= queue elements.

-- gil

If updating CVTLDTO is not totally adequate and the use of SET TIMEZONE is needed, then the daemon can use SVC 34 to issue the command in lieu of updating the CVT directly (remember that the utility must be running authorized to have write access to the CVT) so being allowed to use SVC 34 is not an extra problem.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to