catalog_db2_database
Use this script to catalog a Db2® database as part of setting up an existing Db2 database for use with Network Manager.
Running the script
The following example shows how to run the script.$NCHOME/precision/scripts/sql/db2/catalog_db2_database.sh database_name host portCommand-line options
The following table describes the command-line options for the catalog_db2_database script.
| Command-line option | Description |
|---|---|
| database_name | Mandatory; the name of the database to catalog. |
| host | Mandatory; the hostname of the server where Db2 is installed. |
| port | Mandatory; the port of the Db2 server. |