>I have had to process large numbers of files in the past and as I remember it, ADIR did not work reliably. Of course this was before the array size became limitless. I know I did a sample recently with 500 files and ADIR did not show more than 488. I just tried with 100,000 and it worked fine. Doesn't make me feel warm and fuzzy.
Check
ADIR, SYS(2000) and Filer all returned wrong results Thread #
1173982
If it's not broken, fix it until it is.
My Blog