IBM Books

Command Reference

UNCATALOG DCS DATABASE

Deletes an entry from the Database Connection Services (DCS) directory.

Authorization

One of the following:

Required Connection

None. Directory operations affect the local directory only.

Command Syntax

>>-UNCATALOG DCS----+-DATABASE-+--database-alias---------------><
                    '-DB-------'
 

Command Parameters

DATABASE database-alias
Specifies the alias of the DCS database to uncatalog.

Usage Notes

DCS databases are also cataloged in the system database directory as remote databases that can be uncataloged using UNCATALOG DATABASE.

To recatalog a database in the DCS directory, use CATALOG DCS DATABASE. To list the DCS databases that are cataloged on a node, use LIST DCS DIRECTORY.
Note:If directory caching is enabled (see the configuration parameter dir_cache in GET DATABASE MANAGER CONFIGURATION), database, node, and DCS directory files are cached in memory. An application's directory cache is created during its first directory lookup. Since the cache is only refreshed when the application modifies any of the directory files, directory changes made by other applications may not be effective until the application has restarted.

To refresh the CLP's directory cache, use TERMINATE. To refresh DB2's shared cache, stop (db2stop) and then restart (db2start) the database. To refresh the directory cache for another application, stop and then restart that application.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]