Previous Topic: CXXMAINT PURGE (Remove Database from Directory)Next Topic: SQL Processing


When to Use

Important! Do not use PURGE unless DELETE fails.

Before using PURGE, review CXXMAINT DELETE (Delete CXX Definitions) to ensure that the DELETE request was submitted correctly.

It may be necessary to use PURGE when the following sequence of events have occurred:

  1. You deleted a database definition from CA Datacom Datadictionary.
  2. You used CXXMAINT OPTION=DELETE,DBID=n to delete that database from the Directory (CXX).
  3. You received return code 13 and the DELETE option did not complete.

In this case, use the PURGE option to remove the database. Then, reclaim space by executing the BACKUP, INIT and LOAD CXX functions.

This option is provided to minimize the recovery process of the Directory in the case of hardware failure errors, CA Datacom/DB failures, or misuse of the RESET function. Without this option, these conditions can require reloading the entire Directory which requires that all users terminate processing. Current information entered since the time of the backup is lost.

The PURGE option allows you to eliminate the problem database and restore only that database from a backup or rebuild it through CA Datacom Datadictionary.