![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Dear Wizard, The application on our microvax is not Year2000 compliant, nor can be made so. We therefore have to set the date back in OpenVMS to 1974 and correct the problem further along the chain. Easy enough to do with the set date procedure, but how can we trap this procedure in future so that, in four years time when the fuss (and probably my job)is over, that nobody decides the date is "wrong" and "corrects" it to past 2000. The application wou ld then crash. The Answer is : Code SYLOGIN.COM and SYSTARTUP.COM, and (if any) the application startup procedure to call a procedure that generates an error message when the current system time exceeds the specified threshold, and then clearly comment the calls to the procedure, as well as the called procedure, as to why these checks exist, and what needs to be done before the checks can be removed. The f$cvtime comparison time format would work nicely for the test.
|