🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #4486

Re: Maximum number of openfiles on MS FORTRAN 5.1?

#4486
From: Yin-Hsin Chen
Date: Mon, 25 Jan 1993 04:04
25 lines
1748 bytes
In article <1993Jan24.174628.1@afit.af.mil> cwillits@afit.af.mil writes:
>
>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.
> 
 There are two parts that affect the open files. One is on DOS side.
You can increase this part by changing the "FILES=" line in
CONFIG.SYS. The second part is on MS FORTRAN side. According to MS
FORTRAN 4.1 & 5.0, some assembly code must be changed to increase the
limit. Sorry I never use MS FORTRAN 5.1. Under DOS, I ever increased
the open files to 40+. I cannot open more files under DOS. But under
OS/2 1.0, I can increase the open files to 60+. Because this was what
I need at that time, I don't know the limit. Again, this is for MS
FORTRAN 5.0, not 5.1. But I don't think the number of the open files
will decrease.

>Craig J. Willits
>Graduate Student, Operations Research
>Air Force Institute of Technology
>cwillits@afit.af.mil
Technical Details
Message-ID: <1jvosjINNi4p@mojo.eng.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!mojo.eng.umd.edu!yhchen
References: <Jan.22.09.43.13.1993.26857@gandalf.rutgers.edu> <1993Jan24.174628.1@afit.af.mil>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!mojo.eng.umd.edu!yhchen
From: yhchen@eng.umd.edu (Yin-Hsin Chen)
Newsgroups: comp.lang.fortran
Subject: Re: Maximum number of openfiles on MS FORTRAN 5.1?
Date: 25 Jan 1993 04:04:35 GMT
Organization: Project GLUE, University of Maryland, College Park
Lines: 27
Message-ID: <1jvosjINNi4p@mojo.eng.umd.edu>
References: <Jan.22.09.43.13.1993.26857@gandalf.rutgers.edu> <1993Jan24.174628.1@afit.af.mil>
NNTP-Posting-Host: coffee.eng.umd.edu