From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2a089932f4a8d891 X-Google-Attributes: gid1164f8,public From: everhart@gce.com.gov (Glenn C. Everhart) Subject: Re: Y2K: Date/Time Simulator for VMS Date: 1997/12/09 Message-ID: <66jh5d$q27@top.mitre.org>#1/1 X-Deja-AN: 296593498 Distribution: world References: <34888050.48F44781@mmm.com> <348cbd51.226285010@news.axion.bt.co.uk> Organization: Speaking for me...remove .gov to use address Reply-To: Everhart@gce.com.gov Newsgroups: comp.sys.dec I've heard of a few folks intercepting system services for a process to lie to it about the date/time. For a basic system service intercept, check out SSINT by Brian Schenkenberger; see the V3 freeware CD or recent sigtapes for a copy. It's source code and you'll need to poke it to do what you want for $gettim and friends (and you really should arrange that the faked time change with time also), but it is also perfectly reasonable to just use a workstation and set its time to a future date. For amusement make it AFTER 2038. VMS will have no grief here, but after that date, the unix seconds-since-1/1/1970 becomes negative to 32 bits. Just challenge your friends running unix to run correctly as of 1/1/2039. I've heard that Microsoft stuff fails well before that, but have not tried it personally. In article <348cbd51.226285010@news.axion.bt.co.uk> thomasgd@omc.bt.co.uk (Greg Thomas) wrote: > On Fri, 05 Dec 1997 16:29:36 -0600, jsullivan3@mmm.com (Jeff Sullivan) > wrote in article <34888050.48F44781@mmm.com>: > >>Looking for a Date/Time Simulator utility for testing applications >>for Y2K compliance, running in a VMS environment. Any knowledge >>of such a program for this system would be appreciated. > > Err, I might have missed something here, but have you tried > > $ set time=1-jan-2000 > > Greg