JohnElliott
Veteran Member
It's ensuring that DCNT (the directory counter) is reset to 0 when an extent of a file is closed. When this happens, CLOSE is supposed to save any changes in the FCB to the directory, and then locate the FCB for the next extent if there is one. By not resetting DCNT, it means it doesn't search the whole directory and therefore may not locate the next extent of the file.