Simulating a drop
By simulating a drop, you can create DROP SQL statements and write them to the Drop Recovery Log without actually dropping the object.
The Drop Recovery Log is a Db2 table that is managed by Catalog Manager. It contains all of the information about dropped objects, their dependents, and the SQL to rebuild them that Catalog Manager needs to invoke the DSN1COPY utility to re-create the structures and authorizations.
To simulate a drop
- Set the Drop switch to N. For information, see Setting-Catalog-Manager-switches.When the Drop switch is set to N, Catalog Manager performs all of the actions for a drop except the actual execution. Then, Catalog Manager issues a message stating that the drop was not executed.
- Follow the steps in Dropping-an-object.
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*