uncatalog_db2_database

Use this script to uncatalog a Db2® database if you have changed the hostname, port, or database name.

Running the script

To run the script, use a command line similar to the following:
$NCHOME/precision/scripts/sql/db2/uncatalog_db2_database.sh database_name

Command-line options

The following table describes the command-line options for the uncatalog_db2_database script.

Table 1. uncatalog_db2_database command-line options
Command-line option Description
database_name Mandatory; the name of the database to uncatalog.