Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: john@yrl.co.uk (John Laird)
Subject: Re: VAXstation Hardware and Y2K
Date: 1998/07/20	[thread overview]
Message-ID: <5D9au2I2EiXp@yrl.co.uk> (raw)
In-Reply-To: 6ottvl$nr2$1@probity.mcc.ac.uk

In article <6ottvl$nr2$1@probity.mcc.ac.uk>, helbig@man.ac.uk (Phillip Helbig) writes:
> In article <6o5uv0$skn@usenet.pa.dec.com>,
> hoffman@xdelta.enet.dec.nospam (Hoff Hoffman) writes: 
> 
>>   Because the TOY has a resolution of 497 days, you need to issue a "SET
>>   TIME" (with no parameters) at least once between January 1st and about
>>   April 11th of each year.  The SET TIME is issued during various OpenVMS
>>   procedures such as SHUTDOWN, and can be issued directly.  Issuing SET
>>   TIME resets the value stored in the TOY, and updates the current year
>>   saved in the system image.
> 
> Is there any reason not to issue this command once a day, say in my 
> nightly BACKUP/cleanup batch job?  Ideally, the system should continue 
> to stay up forever, with no human intervention.  :)

If you are going to do this, use $ SET TIME="''F$TIME()'", which will not
noticeably affect your system clock.  Using $ SET TIME with no parameters
will continually reset the system clock to follow the battery clock.  Of
course, if you know that to be more accurate from testing, fine.

I'm going to take slight issue with Hoff's advice.  As I read my (old)
copy of the I&DS manual, *any* SET TIME request will update both the TOY
clock *and* the base year in SYS.EXE (if necessary), handling the change
required in the first 3 months or so of a new year.  Without parameters,
the time-to-use is first *taken* from the TOY clock.

-- 
John Laird (john@yrl.co.uk)           "I have discovered a truly elegant sig,
Yezerski Roper Ltd                    sadly there is no room here to show it."
http://www.yrl.co.uk



  reply	other threads:[~1998-07-20  4:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-09  4:00 VAXstation Hardware and Y2K Jerry
1998-07-09  4:00 ` Antonio Carlini
1998-07-10  4:00   ` Hoff Hoffman
1998-07-10  4:00     ` fairfield
1998-07-19  4:00     ` Phillip Helbig
1998-07-20  4:00       ` John Laird [this message]
1998-07-20  4:00       ` Jan Vorbrueggen
1998-07-20  4:00         ` Hoff Hoffman
1998-07-09  4:00 ` John Laird
1998-07-09  4:00 ` Tim Shoppa
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox