home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / fortran / 5146 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.5 KB  |  32 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!usc!rpi!uwm.edu!linac!att!att!dptg!ulysses!allegra!princeton!sheps!bvaughan
  3. From: bvaughan@sheps.Princeton.EDU (Barbara Vaughan)
  4. Subject: Re: Maximum number of openfiles on MS FORTRAN 5.1?
  5. Message-ID: <1993Jan22.162537.21770@Princeton.EDU>
  6. Originator: news@nimaster
  7. Sender: news@Princeton.EDU (USENET News System)
  8. Nntp-Posting-Host: sheps.princeton.edu
  9. Organization: Princeton University
  10. References: <Jan.22.09.43.13.1993.26857@gandalf.rutgers.edu>
  11. Date: Fri, 22 Jan 1993 16:25:37 GMT
  12. Lines: 18
  13.  
  14. In article <Jan.22.09.43.13.1993.26857@gandalf.rutgers.edu> hempatel@gandalf.rutgers.edu (Hemanshu Patel) writes:
  15. >
  16. >    I am using MS Fortan 5.1 on a PC running DOS, and I've written 
  17. >    a program on a SPARC 1 which opens 20 or so files. It compiles
  18. >    and runs fine.  I then transfered it to a PC, it compiles fine
  19. >    but I  get a runtime  error of  too many files opened. I don't 
  20. >    remember the  exact error code. Does  anyone know  the maximum 
  21. >    number of files openable at one time under MS Fortran 5.1, and
  22. >    any tricks around. I really don't want to  open and close each 
  23. >    file every time,  especially since the data  stored in them is 
  24. >    sequentially  written. Any help  would be appreciated. Than...
  25.  
  26. I don't know anything about MS Fortran 5.1 (I use Lahey), but you might
  27. want to check your DOS config.sys file.  There may be a line in it saying
  28. "files = 15" or something.  If so, change it.  If there's no such line,
  29. add one, with a limit you can live with.
  30.  
  31. Barbara Vaughan
  32.