[Info-vax] Uptime for OpenVMS

JF Mezei jfmezei.spamnot at vaxination.ca
Wed May 11 13:21:43 EDT 2011


Johnny Billquist wrote:
>
> If the above is literally what you wrote, then it could also be the 
> inability to parse "17=NOV-1858" as a valid date. :-D


OK, here is the litteral cut/paste:


$ start = "17-NOV-1858 01:00:01"
$ end = f$time()
$ write sys$output f$delta_time(start,end)
%SYSTEM-F-IVTIME, invalid time
$



And just to be sure:

$ start = "17-NOV-1859 01:00:01"
$ write sys$output f$delta_time(start,end)
%SYSTEM-F-IVTIME, invalid time

So even a year after the start of VMS time, it still says it is invalid.

A bit more investigating:

$ start = "17-NOV-1984 01:00:01"
$ write sys$output f$delta_time(start,end)
9671 11:51:14.66


$ start = "17-NOV-1983 01:00:01"
$ write sys$output f$delta_time(start,end)
%SYSTEM-F-IVTIME, invalid time


So I suspect that when it goes beyond 9999 days, it fails. So probably
more a $FAO issue than a 32 bit issue.



More information about the Info-vax mailing list