DIR Function Opens Exclusively? (AREV Specific)
At 23 MAR 2009 04:54:09PM Victor Engel wrote:
It seems that if I do the following in Arev:
X=DIR(FILENAME)
and then try to save file FILENAME using another application like, say, TEXTPAD, I get an error that there is an access violation.
This seems to suggest that DIR() opens a file exclusively and doesn't close it. Can anyone else confirm this?
At 25 MAR 2009 04:35AM Eric wrote:
Could be a caching behaviour, even after AREV closes the file. If I recall, this function merely addresses the directory entry.
If it's a drama, PCPERFORM a "DIR FILENAME ] JUNK.TXT" and osread junk.txt
At 26 MAR 2009 01:27AM Warren Auyong wrote:
Under ARev 3.12 with the All Networks Driver 2.1 and Windows Service 2.1:
If file is on local drive (C:), no problems.
If file is on network drive - access errors. However after a period of time no errors.
As Eric surmises it must be a caching issue.
Perhaps disabling write-back caching on the Windows workstation would help?