create_db2_database

Use this script to create the back end NCIM relational database schemas in a Db2® database.

Running the script

Run this script as the Db2 administrative user.

To run the script, use a command line similar to the following:

$NCHOME/precision/scripts/sql/db2/create_db2_database.sh database_name user_name [ -force ]

Command-line options

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

Table 1. create_db2_database.sh and create_db2_database.bat command-line options
Command-line option Description
database_name Mandatory; the name of the database.
user_name

Mandatory; the name of the database user that will be used to connect to the database.

Important: This user must not be the administrative user. This user must be an existing operating system and Db2 user.
-force Optional; instructs the script to force any existing Db2 users off the instance before attempting to drop the database