[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Behaviour of Fortran DATE_AND_TIME call?

» close window

The Question is:

 
We have just upgraded one of our Alpha Open VMS servers from VMS 6.2 to VMS
7.2. We have also recently upgraded all of our legacy Fortran code to be Y2K
compliant. The most frequent change was to replace procedure IDATE with the
new DATE_AND_TIME.
 
We have noticed when we run a program that calls DATE_AND_TIME before 8 am,
DATE_AND_TIME was returning yesterday's date where as if we run the same
program after 8 am it returns today's date.
 
Running the same program on a VMS 6.2 system
returns today's date both before and after 8 am
 


The Answer is :

 
  There is no information on the particular Fortran version in use.
 
  There was a change in the C library in OpenVMS 7.2 that is known
  to cause this particular misbehavior, and the solution is to install
  the Fortran V7.2 kit.
 
  If this problem arises on the Fortran V7.2 or later kit on OpenVMS
  V7.2, please contact the Compaq Customer Support Center directly.
 

answer written or last revised on ( 3-FEB-2000 )

» close window