Re: Need help with large file reading and writing.



Terry wrote:

I am reading your post as meaning you open and close files one after
another and the program stops after doing this 10 times.

The MS operating system allows you to execute in a DOS environment and
in a Windows console environment (and others) but these two can both be
used for a DOS-target compilation. Both have a limit on the number of
files being open at the same time. 5 files are already taken internally
but are in the count of active data control blocks. IF and only IF this
is what you are doing you have to change the number of DCB file blocks
to be assigned ata program start.

If I remember for DOS there are DCB and FCBS parameters, which specify
the DCBs used by DOS 1.x programs, and FCBS used by programs for later
versions of DOS. Hopefully most compilers available now use newer
methods than DCB, which doesn't allow for a path including subdirectories.

-- glen

.