Thursday, September 3, 2009

DELETING RECORDS OF A SEQUENTIAL FILE

It is NOT
possible to delete records of a seq file
.
If you do not want a specific record to be kept in a seq file any more, all you
can do is to modify the contents of the record so that it contains some special
values that your program will recognize as deleted (remember to open the
file in I-O mode and REWRITE a new record)