Remove records from the active table that are marked for deletion
The PACK command removes all the records from the active table that are marked for deletion, and frees the disk space that they occupied. If the active table is indexed, the index is updated as the records are removed from the table. Exclusive use of the table is required for the PACK operation.
If the ALL option is specified, the PACK command will start at workarea 1 and PACK every open table in all workareas.
use diary ? reccount() 800 set talk on delete all for date < date() 100 record(s) deleted. pack Pack complete, 700 records copied. ? reccount() 700