ENCINA(8) — Maintenance
NAME
sfsadmin reorganize file - reorganizes the records of an entry-sequenced (sequential) file in order to reclaim space
SYNOPSIS
sfsadmin reorganize file -server servername filename [-indices]
ARGUMENTS
-server servername Specifies the name of the file server. The name must be registered with the DCE Directory Service. If the -server option is not specified, the default is the server defined by the environment variable ENCINA_SFS_SERVER.
filename Specifies the name of the file to be reorganized.
[-indices] Rebuilds the active secondary indices. If the -indices option is not specified, the secondary indices are marked inactive.
DESCRIPTION
The sfsadmin reorganize file command reorganizes the primary area of an entry-sequenced file, and if the -indices option is specified, rebuilds all active secondary indices. An entry-sequenced file does not automatically reclaim space when its records are modified or deleted. The file must be reorganized in order to reclaim space. The records are assigned new entry sequence numbers (ESNs).
EXAMPLE
The following command reclaims space in the entry-sequenced file MerchandiseOrders and rebuilds its active secondary indices:
% sfsadmin reorganize file MerchandiseOrders -indices
PRIVILEGE REQUIRED
Encina SFS administer (A) and exclusive open (E) permissions on the file
RELATED INFORMATION
sfsadmin copy file
sfsadmin destroy file
sfsadmin empty file
sfsadmin expand file
sfsadmin query file
sfsadmin rename file
— March 1997