by dick scherrer » Wed Sep 01, 2010 10:52 pm
Hello,
Once a record has been written to a sequential file, it cannot be "deleted". As suggested, you can copy the file omitting records that are not needed in the "new" file.
To create an empty file, open the file as output and do not write any records. When the file is closed, it will have no records (i.e. it will be empty).
Hope this helps,
d.sch.