ENCINA(8) — Maintenance
NAME
sfsadmin empty file - removes the contents of the specified file, leaving the record format intact
SYNOPSIS
sfsadmin empty file -server servername filename [-deallocate]
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 emptied.
[-deallocate] De-allocates the storage currently reserved for the file’s primary and secondary areas. If the -deallocate option is not specified, the reserved space for the file remains allocated.
DESCRIPTION
The sfsadmin empty file command removes contents of the specified file leaving its record format intact. The original contents cannot be restored. The file can be used to enter new records of the same format.
EXAMPLE
The following command removes the contents of the file Accounts :
% sfsadmin empty file Accounts
PRIVILEGE REQUIRED
Encina SFS administer (A) and exclusive open (E) permissions on file
RELATED INFORMATION
sfsadmin copy file
sfsadmin destroy file
sfsadmin expand file
sfsadmin query file
sfsadmin rename file
— March 1997