Previous Topic: COPYNext Topic: IDXOUT


DELETE

The DELETE control statement deletes a database, index file data sets, or data file data sets.

You must have defined the high-level name of the database with the NAME control statement (or the PARM parameter of the EXEC JCL statement).

Syntax:

DELETE [INDEX | DATA]

where:

INDEX

Indicates to delete index files data set suffixed with Innnnnnnn.

DATA

Indicates to delete data files suffixed with Dnnnnnnnn.

Note: The DELETE control statement, without the DATA, INDEX, parameter, deletes and uncatalogs all data sets for the database.