DIR command fails for large directories
Brought to you by:
rexx
The DIR command fails when trying to open directories with a large number of entries. When the directory had about 40000 entries, the DIR command opened a session for DIR.DIR. Later, when the directory had about 43,000 entries, it threw errors and didn't create DIR.DIR for the target directory.
If I entered the DIR command with a filter, it returned DIR.DIR with the 22K + entries
I've attached PNG files that show this.
I'm runnnig Windows version THE 3.2 in ISPF compatiblity mode. The same errors occur in THE 3.3RC1. My machine has 16Gb memory, so that shouldn't be the issue.
Two updated results:
1. When the directory size got up to 80,000 entries, using a filter with the DIR command ceased to work, even with a filter that would return only four entries. This might have happened at a smaller size, but 80,000 entries is when I first noticed it.
2. For the 64 bit version of 3.3RC1 thec with 64 bit regina 3.9.1, the DIR command with the same directory results in a complete fail -- THEC stops running and disappears without a message.
I can use OSREDIR on the Windows DIR command to get a listing of the directory at the largest sizes, but THE doesn't provide DIR.DIR functionality on that listing.
You might have to play with it, but my attached y.the should at least let you access the redirected
output. Explore the code for other goodies that it will do.