Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete Record into a Sequential File ( Disc Spaces ??)

Status
Not open for further replies.

royinfo

Programmer
Oct 21, 2009
3
CA
Hello,

I'm doing right now a massive Records deletion into sequential Files. (With Rm cocol Programs)

If I'm looking the size of the file Before and After it's the same .. Why

With Unix is it possible to use a command like TAR or Backup/Restore to recreate the file to have my space available ?

thanks


 
You are marking individual records as deleted in the index. The record space remains untouched, the index is modified.
If you know enough to search through the file to delete you should be able to search through and copy active records to another file. Then remove the old file and extract back from the backup.

I've not worked with the database programs except for rebuilding the files and indexes when things corrupt.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top