DELETE.DB command
Use the DELETE.DB command to delete from the RECON data set a database and all information related to the database that has been recorded in the RECON data set.
If the database is a HALDB, the database and all its partitions are deleted. If the named database is a HALDB partition, the command fails. Use the DELETE.PART command to delete a HALDB partition. If the database or any partition of a HALDB database is in use, the command fails and none of the RECON records are deleted.
Subsections:
Syntax
Keywords
- DBD(name)
- Required keyword you use to identify the name of the database
to be deleted.
All database, DBDS, allocation, image copy, recovery, and reorganization records that have the same database name as name are deleted. In addition, all CA group and DBDS group records are scanned in order to delete any entries for which the corresponding DBDS records have been deleted. All log allocation records are also scanned in order to delete any entries in the allocation list for which the corresponding DBDS records have been deleted.
Restriction for HALDB databases: For the DELETE.DB command, name specifies the name of a HALDB master database.
Example of deleting records from the RECON data set
In this example, records are deleted from RECON for the database and its corresponding DBDSs identified by the DBD keyword.
//DELDB JOB
⋮
//SYSIN DD *
DELETE.DB DBD(THISDB)
/*
