Article View: comp.lang.fortran
Article #4485Re: Maximum number of openfiles on MS FORTRAN 5.1?
From: cwillits
Date: Sun, 24 Jan 1993 12:46
Date: Sun, 24 Jan 1993 12:46
27 lines
1826 bytes
1826 bytes
In article <Jan.22.09.43.13.1993.26857@gandalf.rutgers.edu>, hempatel@gandalf.rutgers.edu (Hemanshu Patel) writes: > > I am using MS Fortan 5.1 on a PC running DOS, and I've written > a program on a SPARC 1 which opens 20 or so files. It compiles > and runs fine. I then transfered it to a PC, it compiles fine > but I get a runtime error of too many files opened. I don't > remember the exact error code. Does anyone know the maximum > number of files openable at one time under MS Fortran 5.1, and > any tricks around. I really don't want to open and close each > file every time, especially since the data stored in them is > sequentially written. Any help would be appreciated. Than... > > Hemanshu According to Appendix C of the _Microsoft FORTRAN Reference_, a program written in MS FORTRAN 5.1 and run under DOS or OS/2 cannot open more than 20 files at a time. (Under certain situations involving OS/2, this can be extended to 40.) Another poster referred to changing the "FILES=" line in CONFIG.SYS. Setting this limit to more than 20 has no effect on the MS FORTRAN limit of 20 open files. Craig J. Willits Graduate Student, Operations Research Air Force Institute of Technology cwillits@afit.af.mil
Technical Details
Message-ID:
<1993Jan24.174628.1@afit.af.mil>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!udecc.engr.udayton.edu!blackbird.afit.af.mil!lancer.afit.af.mil!cwillitsReferences:
<Jan.22.09.43.13.1993.26857@gandalf.rutgers.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.fortran Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!udecc.engr.udayton.edu!blackbird.afit.af.mil!lancer.afit.af.mil!cwillits From: cwillits@afit.af.mil Subject: Re: Maximum number of openfiles on MS FORTRAN 5.1? Message-ID: <1993Jan24.174628.1@afit.af.mil> Lines: 27 Sender: news@afit.af.mil Nntp-Posting-Host: csc.afit.af.mil Organization: Air Force Institute of Technology References: <Jan.22.09.43.13.1993.26857@gandalf.rutgers.edu> Date: Sun, 24 Jan 1993 12:46:28 GMT