Thear users. I have a lot my old programs witch were compiled under MS Fortran Power Station , Digital Visual Fortran etc. They all work ! I use binary files to write data to my hard disk to read them next time. I have attachem a siple code where I oped direct access binary file. I use it all my live without any problem. FTN95 makes exe file too but when I run the program the 'fort44' is not writen to disk and I have a RUN-TIME ERROR !!! with info that Error 90, File acces and properties are incompatibile 00401000 main [+0120]. I have the sme problam under 32 WindowsXP or 64 bit WindowsXP. The lenght o record is RECL=3624 and it shuld be appropriate to write WRITE(44) LW,LPC,IT,FR,RZg,POLE,NWE what I showed below:
IMPLICIT REAL*8 (A-H,O-Z)
COMMON/GEO/RZg(6),Fr(3,6),POLE(6)
OPEN(44, FILE='FORT4',ACCESS='DIRECT',FORM='UNFORMATTED',
*RECL=3624,STATUS='UNKNOWN')
LW=9
LPC=9
IT=1
NWE=9
DO j=1,6
DO i=1,3
FR(i,j)=3.14*j*i !Doesn't mater what number
ENDDO
RZg(j)=3.14*j*i !Doesn't mater what number
POLE(j)=3.14*j*i
ENDDO
WRITE(44) LW,LPC,IT,FR,RZg,POLE,NWE
CLOSE(44)
END
Please help me to solve the probelm.