I have some fortran code that use to work on a Silican Graphics machine using Unix.
It doesn’t now. The problem code is as follows:
open(unit=14,recl=185,file='fort.15',status='old',
1 access='direct',maxrec=2606)
Error message is:
1 access=’direct’,maxrec=2606)
1
Error: Syntax error in OPEN statement at (1)
I can change the order of the open statement to (for example):
open(unit=14,file='fort.15',status='old',access='direct',
1 recl=185,maxrec=2606)
and get the following error:
1 recl=185,maxrec=2606)
1
Error: Syntax error in OPEN statement at (1)
Trisha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.