[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::fortran

Title:Digital Fortran
Notice:Read notes 1.* for important information
Moderator:QUARK::LIONEL
Created:Thu Jun 01 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1333
Total number of notes:6734

1173.0. "FOR$_OPEFAI Problem" by CHEFS::LINCOLN_J () Wed Feb 12 1997 11:27

	We are experiencing a weird problem with a Fortran open
	returning 30, FOR$_OPEFAI under OpenVMS, Alpha Platform.

	The code has functioned perfectly for some time and we know
	that the file in question is OK. Indeed it is not always
	the same file on which it fails. 

	The files are indexed and opened 'OLD', 'SEQUENTIAL', and
	the program processes tens of thousands of such files and
	the failure occurs after a vast number (maybe 100,000 plus)
	have already been opened by the code (and closed). Seems
	like a system related problem but where to look?

	Any Ideas most welcome.


	-John,  Systems Integration DEC UK.
T.RTitleUserPersonal
Name
DateLines
1173.1QUARK::LIONELFree advice is worth every centWed Feb 12 1997 11:325
FOR$_OPEFAI is a generic error - to even start diagnosing this you need to
see the complete error message as signalled by the RTL.  This means removing
any ERR= or IOSTAT= from the  OPEN statement.

				Steve
1173.2CHEFS::LINCOLN_JWed Feb 12 1997 11:474
	That was quick. Actually the files are sequential not indexed
	as I said before. We'll keep looking.

	-John
1173.3Process InteractionCHEFS::LINCOLN_JThu Feb 13 1997 06:074
	For the record, it was another process, one we didn't know
	about, that was locking the files.

	-John
1173.4QUARK::LIONELFree advice is worth every centThu Feb 13 1997 09:275
That makes sense.  "File locked by another user" will result in OPEFAI errors.
This is why I said that it is important to get the full error message, otherwise
you're left guessing.

			Steve