create_pimdb.sh script

Use the create_pimdb.sh script to create a IBM® Product Master database in a production environment.

Syntax

create_pimdb.sh --db=dbname --inst_owner=instance_owner --cpath=container_path
Important: Ensure that you run this script from the Db2® server by using Db2 instance ID. Do not run the script from the application server.

Parameters

db
Specify the name of the database.
instowner
Specify the name of the instance owner.
cpath
Specify the path of the container.

Example

In this example, the create_pimdb.sh script is run to create a database with the name pimdb for the instance owner db2inst1 in the container path /u01 :

$<install directory>/bin/db_creation/create_pimdb.sh --db=pimdb  --instowner=db2inst1
  --cpath=/u01