Posted by Bruce Heifetz on June 25, 2004 at 07:04:17:
I wanted to use (Clearfile) & (Copyfile) on a keyed file instead of erase/create, since sometimes the file is open elsewhere.
(Clearfile) works fine and deletes all records, even when file is open by another program.
I ran (Copyfile)on both the record portion of the file and the key portion (.I00).
If the file is closed, (Copyfile) works.
If the file is open, the keys get copied, but the record get copied as a string of hex "00" characters.
Running Comet2002 Build .319/03.08