Your Product Information Management (PIM) data is organized in IBM® Product Master by companies. To be able to log in to Product Master, you must create a test company by using the
script that is provided.
About this task
The create_cmp.sh script at the <install
dir>/bin/db can be used to create new company. The –code
argument is
required for the create_cmp.sh script.
Procedure
- Use the following shell script to create the schema:
<install dir>/bin/db/create_cmp.sh
For example,
create_cmp.sh –code=<company code> --name=<company name>
The script creates create_cmp.log file at <install dir>/logs/.
This script creates the company. You can use this empty test company in your test environment.
You can use the
create_cmp.sh script to create more test companies.
Note: The
ID and password information is hardcoded when you create the company by using the script, and so
they are case-sensitive.
- Create an empty company called 'test' (which contains no predefined data), by running the
following shell script:
<install dir>/bin/db/create_cmp.sh --code=test
The company demonstration is created with a single user: Admin. The
password for admin trinitron. Passwords are case-sensitive. The Admin user is
created with full privileges and should be used by an administrator.
Remember:
- You must run the create_cmp.sh shell script only when your system is down.
- You must not run the create_cmp.sh shell script multiple times in parallel
so that more than one instance is running at a given time, otherwise the scripts fail.
- Review the log file after running create_cmp.sh to check for
errors.