PDA

View Full Version : Re: [LF] File number limit problem


Lahey Support
08-15-2003, 01:33 AM
Terence Wright wrote on August 26:

> 1) Windows 95 IGNORES the files=40 parameter in config.sys!!!
> And supplies space for ONLY 20 file buffers (the needed
> 30 FCB's are in the assembly routine itself).
>
>SO, now, Anyone know how to tell F95 to give me FILES=40 as any
>OTHER DOS or Windows operating system does, when told?

Svend Broholm wrote:

> With regard to Terence's observation of the FILES-problem with Win95, I
> suggest it is a corrupt Win95 installation.

My experience:

My CONFIG.SYS consists of two lines:
device=c:windowscommandansi.sys
files=30
Running Terence's program (the upper limit of the DO was changed
to 99), the last two lines on the screen were as follows:
OPENING I=38 CWORK034.$$$
No file handles left (see Configuring, FILES= in DOS manual).
After changing the second line in CONFIG.SYS to "files=50", the
output was similar:
OPENING I=58 CWORK054.$$$
No file handles left (see Configuring, FILES= in DOS manual).
It means that besides the "standard error output device" (unit=*)
files+4 output units can be processed from that Fortran program.
Terence's solution would be O.K. using a well developed operating
system. (Who sais that MS Windows is a such one?)

Svend Broholm's remark seems being correct. My environment is:
MS Windows 95, Ver. 4.00.1111 (Label on the CD ROM:
"For distribution only with a new PC."
"0397 Part No. 000-59949 ZP")
Lahey Fortran 90 Compiler Release 4.00e.
Nevertheless, there are components of this opsys (installed on
a COMPLETELY EMPTY computer) with Version Number 4.00.1024,
4.00.950, too. This mixture lead many times to errors, when
only two keys remain in operation: the RESET and the POWER.
Probably, Terence's Windows is a mixture, too - but with other
Version Numbers.

Regards,
E. J. Szondi

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
SZONDI, Egon Janos [address removed]
Institute of Nuclear Techniques http://www.reak.bme.hu/~szondi
Budapest University
of Technology and Economics
H-1521 Budapest, Hungary Tel: ++36-1 463-1563
Muegyetem rkp. 9. Fax: ++36-1 463-1954
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

----------------------------------------------------------
To unsubscribe, send to [address removed] the following
as the first and only line of the message body:
unsubscribe fortran
----------------------------------------------------------