home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!usc!rpi!uwm.edu!linac!att!att!dptg!ulysses!allegra!princeton!sheps!bvaughan
- From: bvaughan@sheps.Princeton.EDU (Barbara Vaughan)
- Subject: Re: Maximum number of openfiles on MS FORTRAN 5.1?
- Message-ID: <1993Jan22.162537.21770@Princeton.EDU>
- Originator: news@nimaster
- Sender: news@Princeton.EDU (USENET News System)
- Nntp-Posting-Host: sheps.princeton.edu
- Organization: Princeton University
- References: <Jan.22.09.43.13.1993.26857@gandalf.rutgers.edu>
- Date: Fri, 22 Jan 1993 16:25:37 GMT
- Lines: 18
-
- 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...
-
- I don't know anything about MS Fortran 5.1 (I use Lahey), but you might
- want to check your DOS config.sys file. There may be a line in it saying
- "files = 15" or something. If so, change it. If there's no such line,
- add one, with a limit you can live with.
-
- Barbara Vaughan
-