In order for this site to work correctly, and for us to improve the site, we need to store a small file (called a cookie) on your computer.
By continuing to use this website, you agree to our cookies and privacy policy.
  
Home page Home page Home page Home page
Pixel
Pixel Header R1 C1 Pixel
Pixel Header R2 C1 Pixel
Pixel Header R3 C1 Pixel
Pixel

QTIPS - Amending non-Attached Files

It can frequently be necessary to read and write to files with identical names on different volumes sharing the same name. This is made impossible by the (sensible) reluctance of the system to allow two files with the same name to be attached at the same time. Matthew Crozier of Vernon Systems points out that a file does not need to be attached to access it. Simply attach the file and open it - this will put the file handle into the file variable. Now detach the file and attach and open the new one.

The file does not need to be attached for the file handle to work, therefore both files can now be written to. As the file handle will contain the necessary indexing information if the files are indexed there should be no problems resulting from index transactions being written to the wrong file - especially in 2.1+ where the !INDEXING file has been removed.

(Volume 3, Issue 10, Page 5)
Pixel
Pixel Footer R1 C1 Pixel
Pixel
Pixel
Pixel