From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,eb9c51ba053ba15e X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,eb9c51ba053ba15e X-Google-Attributes: gid1164f8,public From: john@yrl.co.uk (John Laird) Subject: Re: VAXstation Hardware and Y2K Date: 1998/07/20 Message-ID: <5D9au2I2EiXp@yrl.co.uk>#1/1 X-Deja-AN: 373131934 Distribution: world X-NNTP-Posting-Host: mailgate.yrl.co.uk:194.159.108.1 References: <35A4AD5F.65AF16EF@__m-net.arbornet.org__> <6ottvl$nr2$1@probity.mcc.ac.uk> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 900935425 nnrp-09:14226 NO-IDENT mailgate.yrl.co.uk:194.159.108.1 Organization: Yezerski Roper Ltd Newsgroups: comp.sys.dec,comp.os.vms 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