[Info-vax] Uptime for OpenVMS

Paul Sture paul.nospam at sture.ch
Thu May 12 05:08:25 EDT 2011


In article 
<b7f4bb8a-549c-4feb-abb0-05f5d49680cb at dn9g2000vbb.googlegroups.com>,
 onedbguru <onedbguru at yahoo.com> wrote:

> On May 11, 12:56 pm, JF Mezei <jfmezei.spam... at vaxination.ca> wrote:
> > OK, in light of Bill Gunshannon's 4000 day uptime, I wanted to "edit"
> > the output of SHOW SYSTEM....
> >
> > VMS Alpha 8.3:
> >
> > $START = "17=NOV-1858 01:00:00"
> > $END = F$TIME()
> > $write sys$output f$delta_time(start,end)
> >
> > %SYSTEM-F-IVTIME, invalid time
> >
> > If I change "start" to have a date last year, it works.
> >
> > Note that by having it at 01:00:00, it means that "start" isn't set to
> > "0" and should not be considered a deltatime.
> >
> > Is this due to a 32 bit limitation in DCL that would not allow a
> > delta-time greater than 32 bits ?
> 
> DS10L>$ sh sym start
>   START = "24-DEC-1983 18:32:16.42"
> DS10L>$ sh sym end
>   END = "11-MAY-2011 18:32:16.41"
> DS10L>$ write sys$output f$delta_time(start,end)
> 9999 23:59:59.99
> 
> DS10L>$ START = "24-DEC-1983 18:16:41"
> DS10L>$ write sys$output f$delta_time(start,end)
> %SYSTEM-F-IVTIME, invalid time
> 
> 
> Trips the wire at 10000 days..

Woosh.  That's reminiscent of the 10,000 day overflow problem we had in 
1997 with Unix dates.  There was a VMS patch then, IIRC for X11 / Motif.

-- 
Paul Sture



More information about the Info-vax mailing list