create_cmp.sh script

Use the create_cmp.sh script to create a company for production deployment or a test company that you can use to test your installation and initial login to IBM® InfoSphere® Master Data Management Collaboration Server services.

Syntax

create_cmp.sh –-code=company_code [--name=company_name] [--silent] [--verbose]

Parameters

code
Specifies the company code. This parameter is mandatory and must be unique.
name
Specifies the name of the company. This parameter may not be unique. It is set to the company code if not provided by the user.
silent
Suppresses confirmation messages.
verbose
Displays messages related to company details and the current debugging output.

Usage

This script is stored in the <install dir>/bin/db directory. Running the script creates a log file named create_cmp.log in the <install dir>/logs directory.
Note: You must not run the create_cmp.sh shell script multiple times in parallel. If more than one instance is running at the same time, all of the instances will fail.

Example

In this example, a company with the name test_company is created:

$<install dir>/bin/db/create_cmp.sh --code=test --name=test_company --verbose

Output

Running this script in the verbose mode displays the name and code of the company being created, the company locale, and activities performed by the script such as loading other scripts. On successful completion, the script displays the following message on the screen:
DONE


Last updated: 21 Jul 2017