* Re: UTC and OpenVMS
1999-10-08 4:00 UTC and OpenVMS Neil Rieck
@ 1999-10-08 4:00 ` Hoff Hoffman
1999-10-08 4:00 ` Clair Grant
` (3 subsequent siblings)
4 siblings, 0 replies; 22+ messages in thread
From: Hoff Hoffman @ 1999-10-08 4:00 UTC (permalink / raw)
Follow-ups have been set to comp.os.vms.
In article <xLjL3.1547$Jp4.1507@news20.bellglobal.com>, "Neil Rieck" <n.rieck@sympatico.ca> writes:
:As I currently understand UTC (Coordinated Universal Time), in an ideal
:world all machines (networks, satellites, computers and their file systems,
:etc.) would be set to the same world clock. Computers would not change their
:clocks when moving to or from daylight savings time. Programs displaying
:time to a local user would read a local flag and then present the internal
:time (or file "time stamp") in an external local format.
That's the theory. In reality, timezones and such are still controlled
by rather fickle governmental organizations -- some geographies switch,
some do not, some switch in units of an hour, and some do not. Simply
tracking the daylight savings time switch-overs around the world is an
"entertaining" project. Some businesses can and do switch, and some
cannot or do not. Some businesses have systems and clusters that operate
across timezones, and some do not.
Further, OpenVMS has an extensive base of system and application software
that contain embedded quadword format time values. These "native" quadword
values are manipulated and stored all over the place. It is simply not
feasible to change this. (eg: We would need extensive modifications to
the existing file structure, and to related file system routines and
interfaces. When/if/should we release a new file structure for OpenVMS,
I would tend to assume that it will have integrated UTC capabilities.)
:Most UNIX systems currently do not need their clocks changed twice a year
:but the latest version of OpenVMS (7.2) still does. Does anyone know whether
:Compaq has and plans to build this feature into OpenVMS?
We will NOT be automatically changing the system time. We MAY be adding
a way -- beyond the use of the SYS$EXAMPLES:DAYLIGHT_SAVINGS.COM command
procedure -- to allow an automatic changeover to be selectively enabled
by the system manager. We ARE working to simplify the timezone support,
and on migrating certain applications -- such as DECnet-Plus -- into the
use of the underlying OpenVMS UTC services. (I can't say when -- or even
if these -- and other related changes will be released.)
:p.s. I'm aware that there is limited time zone support built into VMS 7.2
:but apparently this only supports the "C" run-time library.
UTC timezone support first appeared in OpenVMS in early V6. C moved to
the OpenVMS services, as part of the on-going work to centralize and to
simplify this "quagmire".
Applications that use the existing UTC services or C calls are "ready"
now.
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com
^ permalink raw reply [flat|nested] 22+ messages in thread* Re: UTC and OpenVMS
1999-10-08 4:00 UTC and OpenVMS Neil Rieck
1999-10-08 4:00 ` Hoff Hoffman
@ 1999-10-08 4:00 ` Clair Grant
1999-10-10 4:00 ` Neil Rieck
1999-10-14 4:00 ` Paul Repacholi
1999-10-08 4:00 ` Larry Kilgallen
` (2 subsequent siblings)
4 siblings, 2 replies; 22+ messages in thread
From: Clair Grant @ 1999-10-08 4:00 UTC (permalink / raw)
Neil Rieck wrote:
> Does anyone know whether
> Compaq has and plans to build this feature into OpenVMS?
I'm trying to get the automatic daylight savings change into the base OS
in the next release.
--
Clair Grant
VMS Exec Group Project Leader
COMPAQ Computer Corporation
110 Spit Brook Rd.
Nashua, NH 03062
^ permalink raw reply [flat|nested] 22+ messages in thread* Re: UTC and OpenVMS
1999-10-08 4:00 ` Clair Grant
@ 1999-10-10 4:00 ` Neil Rieck
1999-10-14 4:00 ` Paul Repacholi
1 sibling, 0 replies; 22+ messages in thread
From: Neil Rieck @ 1999-10-10 4:00 UTC (permalink / raw)
Clair,
On behalf of all the OpenVMS system managers and users in the world (our
numbers are legion), I thank you!
Neil Rieck
Analyst/Programmer
Bell Canada (Kitchener/Waterloo/Cambridge)
Ontario, Canada.
http://www3.sympatico.ca/n.rieck/
biz mail: neil.rieck@bell.ca
rez mail: n.rieck@sympatico.ca
Clair Grant <grant@evms.zko.dec.com> wrote in message
news:37FDC32D.49D39DAC@evms.zko.dec.com...
> Neil Rieck wrote:
> > Does anyone know whether
> > Compaq has and plans to build this feature into OpenVMS?
>
> I'm trying to get the automatic daylight savings change into the base OS
> in the next release.
>
> --
> Clair Grant
> VMS Exec Group Project Leader
> COMPAQ Computer Corporation
> 110 Spit Brook Rd.
> Nashua, NH 03062
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-08 4:00 ` Clair Grant
1999-10-10 4:00 ` Neil Rieck
@ 1999-10-14 4:00 ` Paul Repacholi
1999-10-14 4:00 ` Hoff Hoffman
1999-10-14 4:00 ` Larry Kilgallen
1 sibling, 2 replies; 22+ messages in thread
From: Paul Repacholi @ 1999-10-14 4:00 UTC (permalink / raw)
Clair Grant <grant@evms.zko.dec.com> writes:
> I'm trying to get the automatic daylight savings change into the base OS
> in the next release.
You will test it in the southern hemisphere, right? And not
forget that WA has NO DST.
~paul
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-14 4:00 ` Paul Repacholi
@ 1999-10-14 4:00 ` Hoff Hoffman
1999-10-14 4:00 ` Larry Kilgallen
1 sibling, 0 replies; 22+ messages in thread
From: Hoff Hoffman @ 1999-10-14 4:00 UTC (permalink / raw)
In article <85hfjua3jr.fsf@vpn.dssrg.curtin.edu.au>, Paul Repacholi <prep@vpn.dssrg.curtin.edu.au> writes:
:Clair Grant <grant@evms.zko.dec.com> writes:
:> I'm trying to get the automatic daylight savings change into the base OS
:> in the next release.
: You will test it in the southern hemisphere, right? And not
:forget that WA has NO DST.
Ayup.
I'd suggest looking at the existing time-related support present in
OpenVMS as a start -- this should give you an idea of how the timezone
support is set up.
The timezone support is presently database driven. In addition to the
"stock" timezone tables in the database, we also provide a way to update
the database to meet local requirements. (Timezones regularly changes
from year to year, even in the same geographic locality -- the changes
follow the ever-changing whims of the local geographic organizations.)
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-14 4:00 ` Paul Repacholi
1999-10-14 4:00 ` Hoff Hoffman
@ 1999-10-14 4:00 ` Larry Kilgallen
1 sibling, 0 replies; 22+ messages in thread
From: Larry Kilgallen @ 1999-10-14 4:00 UTC (permalink / raw)
In article <85hfjua3jr.fsf@vpn.dssrg.curtin.edu.au>, Paul Repacholi <prep@vpn.dssrg.curtin.edu.au> writes:
> Clair Grant <grant@evms.zko.dec.com> writes:
>
>
>> I'm trying to get the automatic daylight savings change into the base OS
>> in the next release.
>
> You will test it in the southern hemisphere, right? And not
> forget that WA has NO DST.
I am not sure what difference the Southern Hemisphere makes, but there
are plenty of odd examples in the US. The state of Arizona in general
does not do DST, but the Navajo Nation (Native American reservation
taking up about 1/6 of the area within Arizona) does do DST.
Obviously people who set their machines to GMT do not want it to change
either. (GMT is an older time standard than UTC, intended for those who
do not run around adjusting their clocks to compensate for drift in the
earth's orbit. :-)
Larry Kilgallen
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-08 4:00 UTC and OpenVMS Neil Rieck
1999-10-08 4:00 ` Hoff Hoffman
1999-10-08 4:00 ` Clair Grant
@ 1999-10-08 4:00 ` Larry Kilgallen
1999-10-08 4:00 ` mathog
1999-10-08 4:00 ` Tim Llewellyn
1999-10-08 4:00 ` Arne Vajhøj
1999-10-09 4:00 ` Neil Rieck
4 siblings, 2 replies; 22+ messages in thread
From: Larry Kilgallen @ 1999-10-08 4:00 UTC (permalink / raw)
In article <xLjL3.1547$Jp4.1507@news20.bellglobal.com>, "Neil Rieck" <n.rieck@sympatico.ca> writes:
> Most UNIX systems currently do not need their clocks changed twice a year
> but the latest version of OpenVMS (7.2) still does. Does anyone know whether
> Compaq has and plans to build this feature into OpenVMS?
I have been running a MicroVAX II since 1986 without ever taking it
off GMT or changing to a different time for the summer.
Larry Kilgallen
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-08 4:00 ` Larry Kilgallen
@ 1999-10-08 4:00 ` mathog
1999-10-08 4:00 ` Tim Llewellyn
1 sibling, 0 replies; 22+ messages in thread
From: mathog @ 1999-10-08 4:00 UTC (permalink / raw)
In article <1999Oct8.082710.1@eisner>, kilgallen@eisner.decus.org (Larry Kilgallen) writes:
>In article <xLjL3.1547$Jp4.1507@news20.bellglobal.com>, "Neil Rieck" <n.rieck@sympatico.ca> writes:
>
>> Most UNIX systems currently do not need their clocks changed twice a year
>> but the latest version of OpenVMS (7.2) still does. Does anyone know whether
>> Compaq has and plans to build this feature into OpenVMS?
>
>I have been running a MicroVAX II since 1986 without ever taking it
>off GMT or changing to a different time for the summer.
We use NTP to keep the time set. It's built into Multinet, maybe TCP/IP
services too?
David Mathog
mathog@seqaxp.bio.caltech.edu
Manager, sequence analysis facility, biology division, Caltech
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-08 4:00 ` Larry Kilgallen
1999-10-08 4:00 ` mathog
@ 1999-10-08 4:00 ` Tim Llewellyn
1 sibling, 0 replies; 22+ messages in thread
From: Tim Llewellyn @ 1999-10-08 4:00 UTC (permalink / raw)
> In article <xLjL3.1547$Jp4.1507@news20.bellglobal.com>, "Neil Rieck" <n.rieck@sympatico.ca> writes:
>
> > Most UNIX systems currently do not need their clocks changed twice a year
> > but the latest version of OpenVMS (7.2) still does. Does anyone know whether
> > Compaq has and plans to build this feature into OpenVMS?
It is built into DECNET Plus (DTSS). It was nice for a couple of years not
to manually change (which I have to do now again). It would be nice to have it
in base VMS, I agree.
--
Tim Llewellyn, OpenVMS System Manager, Remarcs Project
MedAS at the BBC, Whiteladies Road, Bristol, UK.
Email tim.llewellyn@bbc.co.uk. Home tim.llewellyn@cableinet.co.uk
I speak for myself only and my views in no way represent those of
MedAS or the BBC.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-08 4:00 UTC and OpenVMS Neil Rieck
` (2 preceding siblings ...)
1999-10-08 4:00 ` Larry Kilgallen
@ 1999-10-08 4:00 ` Arne Vajhøj
1999-10-09 4:00 ` Neil Rieck
1999-10-09 4:00 ` Neil Rieck
4 siblings, 1 reply; 22+ messages in thread
From: Arne Vajhøj @ 1999-10-08 4:00 UTC (permalink / raw)
To: Neil Rieck
Neil Rieck wrote:
> As I currently understand UTC (Coordinated Universal Time), in an ideal
> world all machines (networks, satellites, computers and their file systems,
> etc.) would be set to the same world clock. Computers would not change their
> clocks when moving to or from daylight savings time. Programs displaying
> time to a local user would read a local flag and then present the internal
> time (or file "time stamp") in an external local format.
>
> Most UNIX systems currently do not need their clocks changed twice a year
> but the latest version of OpenVMS (7.2) still does. Does anyone know whether
> Compaq has and plans to build this feature into OpenVMS?
>
> p.s. I'm aware that there is limited time zone support built into VMS 7.2
> but apparently this only supports the "C" run-time library.
What do you mean by limited TZ support ?
VMS with DECnet phase V/OSI/Plus changes to from DST fine without
any intervention.
There are full API for using UTC from any language (system services).
I have no idea whether UTC implemented as (GMT=clock,local=GMT+offset)
or (local=clock,GMT=local-offset), but who cares.
Arne
^ permalink raw reply [flat|nested] 22+ messages in thread* Re: UTC and OpenVMS
1999-10-08 4:00 ` Arne Vajhøj
@ 1999-10-09 4:00 ` Neil Rieck
1999-10-10 4:00 ` Peter da Silva
1999-10-11 4:00 ` Arne Vajhøj
0 siblings, 2 replies; 22+ messages in thread
From: Neil Rieck @ 1999-10-09 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3204 bytes --]
Arne,
Maybe I should explain my statement(s).
First off, I am not a big fan of UNIX but my current job brings me into
daily contact with at the system manager level. I deal with Sun Solaris,
HP-UX, and of course OpenVMS. The two UNIX OSs that I just mentioned do not
need their system clocks changed twice a year but it seems that OpenVMS 7.2
does (and I was posting to this news group to see if anyone else had crossed
this path in the OpenVMS world).
When I execute the UNIX equivalents of "SHOW SYS", "SHO TIME", and "DIR" (I
won't pollute this newsgroup with the laughable UNIX blasphemous
equivalents) the time stamps are displayed based upon a user defined
preference (if defined) or the default for the machine that he is logged
into. You always see the date and time along with the time zone. This is a
big deal if you've two people logged into your system from various parts of
the world. (I realize this situation doesn't affect most but it does happen
and the world is getting smaller). I suspect the reason that the reason UNIX
has got this working is that all their apps are written in "C" using date
and time functions that support UTC.
I don't think it would be a big deal to do the same in OpenVMS but I can see
that certain DCL SCRIPTS and BATCH QUEUE functions could be messy if UTC
complications where added. (UNIX people would have you believe that SHELL
SCRIPTS and CRON give you the same functionality as DCL SCRIPTS and BATCH
QUEUES but I can tell you from experience that UNIX is just a toy in this
area so the whole UTC wrinkle probably wasn't an issue with them.)
So we're still left with my original (but rephrased) question; "Does anyone
know whether Compaq has any plans to move the OpenVMS clock closer to the
UNIX model?" (or are they just waiting until after the Y2K barrier has
passed by?)
Neil Rieck
Kitchener/Waterloo/Cambridge,
Ontario, Canada.
http://www3.sympatico.ca/n.rieck/
Arne Vajh�j <avajhoej@gtech.com> wrote in message
news:37FDEFC7.64CCE19A@gtech.com...
> Neil Rieck wrote:
> > As I currently understand UTC (Coordinated Universal Time), in an ideal
> > world all machines (networks, satellites, computers and their file
systems,
> > etc.) would be set to the same world clock. Computers would not change
their
> > clocks when moving to or from daylight savings time. Programs displaying
> > time to a local user would read a local flag and then present the
internal
> > time (or file "time stamp") in an external local format.
> >
> > Most UNIX systems currently do not need their clocks changed twice a
year
> > but the latest version of OpenVMS (7.2) still does. Does anyone know
whether
> > Compaq has and plans to build this feature into OpenVMS?
> >
> > p.s. I'm aware that there is limited time zone support built into VMS
7.2
> > but apparently this only supports the "C" run-time library.
>
> What do you mean by limited TZ support ?
>
> VMS with DECnet phase V/OSI/Plus changes to from DST fine without
> any intervention.
>
> There are full API for using UTC from any language (system services).
>
> I have no idea whether UTC implemented as (GMT=clock,local=GMT+offset)
> or (local=clock,GMT=local-offset), but who cares.
>
> Arne
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-09 4:00 ` Neil Rieck
@ 1999-10-10 4:00 ` Peter da Silva
1999-10-11 4:00 ` Arne Vajhøj
1 sibling, 0 replies; 22+ messages in thread
From: Peter da Silva @ 1999-10-10 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 620 bytes --]
In article <oQKL3.4072$Jp4.5736@news20.bellglobal.com>,
Neil Rieck <n.rieck@sympatico.ca> wrote:
> I suspect the reason that the reason UNIX
> has got this working is that all their apps are written in "C" using date
> and time functions that support UTC.
You have cause and effect backwards. The C date and time functions are
derived from UNIX.
--
In hoc signo hack, Peter da Silva <peter@baileynm.com>
`-_-' Ar rug t� barr�g ar do mhact�re inniu?
'U` "You are trapped in a maze of screens and ssh sessions all alike."
"It is dark, and you are likely to log off the wrong account." -- Nep.
^ permalink raw reply [flat|nested] 22+ messages in thread* Re: UTC and OpenVMS
1999-10-09 4:00 ` Neil Rieck
1999-10-10 4:00 ` Peter da Silva
@ 1999-10-11 4:00 ` Arne Vajhøj
1 sibling, 0 replies; 22+ messages in thread
From: Arne Vajhøj @ 1999-10-11 4:00 UTC (permalink / raw)
To: Neil Rieck
Neil Rieck wrote:
> First off, I am not a big fan of UNIX but my current job brings me into
> daily contact with at the system manager level. I deal with Sun Solaris,
> HP-UX, and of course OpenVMS. The two UNIX OSs that I just mentioned do not
> need their system clocks changed twice a year but it seems that OpenVMS 7.2
> does (and I was posting to this news group to see if anyone else had crossed
> this path in the OpenVMS world).
A VMS system can change DST itself, but th efunctionality is build into
DECnet phase V/OSI/Plus.
Not particular logical and VMS engineering has also stated elsewhere in
this
thread that they are considering moving the functionality to base VMS,
where
it belongs more logical.
The functionality is there, but just in a starnge place.
> When I execute the UNIX equivalents of "SHOW SYS", "SHO TIME", and "DIR" (I
> won't pollute this newsgroup with the laughable UNIX blasphemous
> equivalents) the time stamps are displayed based upon a user defined
> preference (if defined) or the default for the machine that he is logged
> into. You always see the date and time along with the time zone. This is a
> big deal if you've two people logged into your system from various parts of
> the world. (I realize this situation doesn't affect most but it does happen
> and the world is getting smaller). I suspect the reason that the reason UNIX
> has got this working is that all their apps are written in "C" using date
> and time functions that support UTC.
What you want is not UTC support (which VMS have), but support for
concurrent users in different time-zones (which VMS does not have).
The latter do need UTC or something equivalent, but it needs a lot
more than that.
> I don't think it would be a big deal to do the same in OpenVMS
Normal VMS times is 8 bytes, while VMS UTC times is 16 bytes.
Making the general use of UTC quite a big change.
> So we're still left with my original (but rephrased) question; "Does anyone
> know whether Compaq has any plans to move the OpenVMS clock closer to the
> UNIX model?" (or are they just waiting until after the Y2K barrier has
> passed by?)
I would phrase the questions: Will Compaq change VMS to support
time-zone
support on a per-process basis.
Arne
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-08 4:00 UTC and OpenVMS Neil Rieck
` (3 preceding siblings ...)
1999-10-08 4:00 ` Arne Vajhøj
@ 1999-10-09 4:00 ` Neil Rieck
1999-10-09 4:00 ` Dave Pickles
4 siblings, 1 reply; 22+ messages in thread
From: Neil Rieck @ 1999-10-09 4:00 UTC (permalink / raw)
This is a follow up to my post yesterday. (UTC and OpenVMS 7.2)
After a bit more digging I've come up with the following UTC related
details.
1. If you want to see Compaq's official (but foggy) view of UTC, then check
out the online system manager's manual at URL
http://www.openvms.digital.com:8000/72final/6017/6017pro_016.html#set_time_s
ec
2. My current employer requires me to use VAX-BASIC. Since that language had
limited internal TIME STAMP support I always call the following two OpenVMS
system services from within VAX-BASIC:
SYS$ASCTIM
SYS$BINTIM
Compaq has added 2 new alternate system services that incorporate UTC into
their conversions called SYS$ASCUTC and SYS$BINUTC. (there are also many
others like SYS$BINUTC, SYS$GETUTC, SYS$NUMUTC, SYS$TIMCON etc.) For more
info start checking from URL
http://www.openvms.digital.com:8000/72final/4527/4527pro_003.html#index_x_56
3. Compaq refers to a program called SYS$EXAMPLES:DAYLIGHT_SAVINGS.COM which
should be run twice a year to adjust programs that require these changes
(specifically, any programs that call date + time functions in C-RTL and any
POSIX compliant programs). They also refer the system manager to the
following files in SYS$MANAGER which are:
UTC$CONFIGURE_TDF.COM
UTC$TIME_SETUP.COM
UTC$TIMEZONE_SETUP.COM
4. I can't find any UTC or TIME ZONE support in DCL's lexical library
(specifically F$CVTIME and F$TIME). Compaq may not wish to open the door to
the possibility of queuing batch jobs with a UTC based time stamp. However,
I can think of a couple of reasons why you might wish to do this. NOTE: this
might be one the reasons why UNIX seems ahead of OpenVMS in the UTC area;
cron jobs just aren't as robust as the batch processing found in OpenVMS.
I'm still left with my original question which is "does anybody know whether
Compaq has any plans to build more UTC related time into OpenVMS?" (I'm
specifically thinking about displaying the TIME ZONE in directory listings
etc.)
Neil Rieck
Kitchener/Waterloo/Cambridge,
Ontario, Canada.
http://www3.sympatico.ca/n.rieck/
Neil Rieck <n.rieck@sympatico.ca> wrote in message
news:xLjL3.1547$Jp4.1507@news20.bellglobal.com...
> As I currently understand UTC (Coordinated Universal Time), in an ideal
> world all machines (networks, satellites, computers and their file
systems,
> etc.) would be set to the same world clock. Computers would not change
their
> clocks when moving to or from daylight savings time. Programs displaying
> time to a local user would read a local flag and then present the internal
> time (or file "time stamp") in an external local format.
>
> Most UNIX systems currently do not need their clocks changed twice a year
> but the latest version of OpenVMS (7.2) still does. Does anyone know
whether
> Compaq has and plans to build this feature into OpenVMS?
>
> p.s. I'm aware that there is limited time zone support built into VMS 7.2
> but apparently this only supports the "C" run-time library.
>
> Neil Rieck
> Kitchener/Waterloo/Cambridge,
> Ontario, Canada.
> http://www3.sympatico.ca/n.rieck/
>
>
>
^ permalink raw reply [flat|nested] 22+ messages in thread* Re: UTC and OpenVMS
1999-10-09 4:00 ` Neil Rieck
@ 1999-10-09 4:00 ` Dave Pickles
1999-10-10 4:00 ` Toon Moene
0 siblings, 1 reply; 22+ messages in thread
From: Dave Pickles @ 1999-10-09 4:00 UTC (permalink / raw)
"Neil Rieck" <n.rieck@sympatico.ca> wrote:
>This is a follow up to my post yesterday. (UTC and OpenVMS 7.2)
>3. Compaq refers to a program called SYS$EXAMPLES:DAYLIGHT_SAVINGS.COM which
>should be run twice a year to adjust programs that require these changes
>(specifically, any programs that call date + time functions in C-RTL and any
>POSIX compliant programs). They also refer the system manager to the
>following files in SYS$MANAGER which are:
>
>UTC$CONFIGURE_TDF.COM
>UTC$TIME_SETUP.COM
>UTC$TIMEZONE_SETUP.COM
That's what we use to keep VMS on wall-clock time. However it is necessary to
shut down some services during the changeover; UCX's NTP is one and I believe
PathWorks is another.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-09 4:00 ` Dave Pickles
@ 1999-10-10 4:00 ` Toon Moene
1999-10-10 4:00 ` Neil Rieck
1999-10-10 4:00 ` Dave Pickles
0 siblings, 2 replies; 22+ messages in thread
From: Toon Moene @ 1999-10-10 4:00 UTC (permalink / raw)
Dave Pickles wrote:
>
> "Neil Rieck" <n.rieck@sympatico.ca> wrote:
> >This is a follow up to my post yesterday. (UTC and OpenVMS 7.2)
>
> >3. Compaq refers to a program called SYS$EXAMPLES:DAYLIGHT_SAVINGS.COM which
> >should be run twice a year to adjust programs that require these changes
> >(specifically, any programs that call date + time functions in C-RTL and any
> >POSIX compliant programs).
> That's what we use to keep VMS on wall-clock time. However it is necessary to
> shut down some services during the changeover; UCX's NTP is one and I believe
> PathWorks is another.
Hmmm, back when I was administering VAXen (around 10 years ago - the 5.x
era) there was a system utility to adjust the clock tick in the night of
the Daylight Savings change that would allow all programs to continue as
normal, while eating up / producing an hour during the night.
Doesn't that work anymore ?
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
GNU Fortran: http://gcc.gnu.org/onlinedocs/g77_news.html
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-10 4:00 ` Toon Moene
@ 1999-10-10 4:00 ` Neil Rieck
1999-10-11 4:00 ` Toon Moene
1999-10-14 4:00 ` Paul Repacholi
1999-10-10 4:00 ` Dave Pickles
1 sibling, 2 replies; 22+ messages in thread
From: Neil Rieck @ 1999-10-10 4:00 UTC (permalink / raw)
Oh there are plenty of utilities that were written to do this for you. And
every VMS system manager knows that you can change the value of the system
clock on the fly. My complaints are as follows:
1. you shouldn't have to change the clock if all the machines in the world
where synced to UTC
2. there are some applications that will get messed up if the clock is
changed while they are running (comparing the 64 bit starting time of a job
with the 64 bit ending time is much nicer if the clock wasn't manually
changed in between)
p.s. I too, was doing OpenVMS system management 13 years ago (VMS 4.4) but
the world has changed significantly since then. Many of these machines are
now tied together (via the internet) and it seems that people are accessing
them from all over the world at all times of the day and night.
Neil Rieck
Kitchener/Waterloo/Cambridge,
Ontario, Canada.
http://www3.sympatico.ca/n.rieck/
Toon Moene <toon@moene.indiv.nluug.nl> wrote in message
news:380062C8.467A687C@moene.indiv.nluug.nl...
> Dave Pickles wrote:
> >
> > "Neil Rieck" <n.rieck@sympatico.ca> wrote:
> > >This is a follow up to my post yesterday. (UTC and OpenVMS 7.2)
> >
> > >3. Compaq refers to a program called SYS$EXAMPLES:DAYLIGHT_SAVINGS.COM
which
> > >should be run twice a year to adjust programs that require these
changes
> > >(specifically, any programs that call date + time functions in C-RTL
and any
> > >POSIX compliant programs).
>
> > That's what we use to keep VMS on wall-clock time. However it is
necessary to
> > shut down some services during the changeover; UCX's NTP is one and I
believe
> > PathWorks is another.
>
> Hmmm, back when I was administering VAXen (around 10 years ago - the 5.x
> era) there was a system utility to adjust the clock tick in the night of
> the Daylight Savings change that would allow all programs to continue as
> normal, while eating up / producing an hour during the night.
>
> Doesn't that work anymore ?
>
> --
> Toon Moene (toon@moene.indiv.nluug.nl)
> Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
> Phone: +31 346 214290; Fax: +31 346 214286
> GNU Fortran: http://gcc.gnu.org/onlinedocs/g77_news.html
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-10 4:00 ` Neil Rieck
@ 1999-10-11 4:00 ` Toon Moene
1999-10-11 4:00 ` Neil Rieck
1999-10-14 4:00 ` Paul Repacholi
1 sibling, 1 reply; 22+ messages in thread
From: Toon Moene @ 1999-10-11 4:00 UTC (permalink / raw)
Neil Rieck wrote:
>
> Oh there are plenty of utilities that were written to do this for you. And
> every VMS system manager knows that you can change the value of the system
> clock on the fly.
That's the quality of analysis you get when you put the reply before the
original :-)
I was not talking about setting the clock, but setting the clock *tick*.
This enabled one to have the DST changeover be gradual during the night
of the change.
As someone else remarked, NTP made this a lot harder (but we weren't
using it 10 years ago).
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
GNU Fortran: http://gcc.gnu.org/onlinedocs/g77_news.html
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-11 4:00 ` Toon Moene
@ 1999-10-11 4:00 ` Neil Rieck
0 siblings, 0 replies; 22+ messages in thread
From: Neil Rieck @ 1999-10-11 4:00 UTC (permalink / raw)
I am aware of a feature which is built into TCPware's NTP which will allow
the clock to drift to the point where you want it. But this is NOT what goes
on in popular UNIX systems when they go in to, and out of, daylight savings.
For example; in DigitalUNIX 4.2 the system clock does not change but the
user's display does. This is what I think we need in OpenVMS.
My ultimate vision goes something like this: Every machine, every network,
every computer, every satellite, everything that has a clock must be sync'ed
to UTC (a variation of GMT). Every machine will know what rules are required
for displaying the local time to humans. Every machine will know the local
rules and make the change automatically. If a guy from Germany is logged
into the same machine as a guy from California, they will each (if they so
desire) see time stamps on files that represent their own local times
because the file time stamp will be recorded as UTC but what each user will
see is what ever his local time is set to. There will be NO changing of the
computer clock, just a shift in what each human sees.
p.s. Sorry if this has come across as a little head strong but I feel this
thread is beginning to take on religious proportions.
Neil Rieck
Kitchener/Waterloo/Cambridge,
Ontario, Canada.
http://www3.sympatico.ca/n.rieck/
Toon Moene <toon@moene.indiv.nluug.nl> wrote in message
news:380247B3.9D5A08DA@moene.indiv.nluug.nl...
> Neil Rieck wrote:
> >
> > Oh there are plenty of utilities that were written to do this for you.
And
> > every VMS system manager knows that you can change the value of the
system
> > clock on the fly.
>
> That's the quality of analysis you get when you put the reply before the
> original :-)
>
> I was not talking about setting the clock, but setting the clock *tick*.
> This enabled one to have the DST changeover be gradual during the night
> of the change.
>
> As someone else remarked, NTP made this a lot harder (but we weren't
> using it 10 years ago).
>
> --
> Toon Moene (toon@moene.indiv.nluug.nl)
> Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
> Phone: +31 346 214290; Fax: +31 346 214286
> GNU Fortran: http://gcc.gnu.org/onlinedocs/g77_news.html
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-10 4:00 ` Neil Rieck
1999-10-11 4:00 ` Toon Moene
@ 1999-10-14 4:00 ` Paul Repacholi
1 sibling, 0 replies; 22+ messages in thread
From: Paul Repacholi @ 1999-10-14 4:00 UTC (permalink / raw)
"Neil Rieck" <n.rieck@sympatico.ca> writes:
> 1. you shouldn't have to change the clock if all the machines in the world
> where synced to UTC
Not quite. There are still the leap second jumps to keep UTC close
to the earths orbit.
~paul
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: UTC and OpenVMS
1999-10-10 4:00 ` Toon Moene
1999-10-10 4:00 ` Neil Rieck
@ 1999-10-10 4:00 ` Dave Pickles
1 sibling, 0 replies; 22+ messages in thread
From: Dave Pickles @ 1999-10-10 4:00 UTC (permalink / raw)
Toon Moene <toon@moene.indiv.nluug.nl> wrote:
>Hmmm, back when I was administering VAXen (around 10 years ago - the 5.x
>era) there was a system utility to adjust the clock tick in the night of
>the Daylight Savings change that would allow all programs to continue as
>normal, while eating up / producing an hour during the night.
>
>Doesn't that work anymore ?
A program to 'slew' the clock was posted here a while ago. It does avoid step
changes or backward moves in event/accounting logs, although during the
interval that the 'slew' is happening you cannot be certain what system time
corresponds to what wall-clock time (and auditors may not be happy with that).
You still need to shut down NTP of course. Also programs using the TZ logicals
will still see a step-change when you redefine them.
Dave Pickles
^ permalink raw reply [flat|nested] 22+ messages in thread