|
xvsamerase |
|
|
By means of xvsamDelete, catalog definitions and content of an XVSAM data set can be removed in one step. xvsamErase allows you to delete only the content of the data file. The definition of the cluster remains unchanged in the catalog and it can be reused later. Its functionality corresponds to those of the IDCAMS statements: DELETE CLUSTER PURGE Syntax xvsamErase [-d<filename] <catalog> <cluster> Options
A protocol file can be created during deletion, by specifying -d<name>. If no name is specified, the protocol file will be created as xvsamDelete.log. The level of detail with which XVSAM should report the sequence of operations on the protocol file, may be specified by means of the -l<level> optional parameter. Example:
# xvsamErase TESTCAT SNICTHLP -d Return codes
|