Use the rename_cmp.sh script to rename
a company code and company name in the IBM® InfoSphere® Master Data Management
Collaboration Server environment.
All users must log in with the new company code after this script
is run.
Syntax
rename_cmp.sh --FromCode=source_company_code --ToCode=target_company_code
[--ToName=target_company_name] [--dbpassword=database_password]
[--silent] [--verbose]
Parameters
- FromCode
- Specifies the existing company code.
- ToCode
- Specifies the new company code.
- ToName
- Optional parameter that specifies the new company name.
- dbpassword
- Optional parameter that specifies the database password if the
database password is stored in the encrypted format.
- silent
- Optional parameter that specifies the suppression of database
confirmation.
- verbose
- Optional parameter that displays detailed messages on the console.
Usage
This script is stored in the
<install
dir>/bin/db directory. Running the script creates a log
file named
rename_cmp.log in the
<install
dir>/logs directory.
Note: You must run the rename_cmp.sh shell
script only when your system is down. Also, you must not run the rename_cmp.sh shell
script multiple times in parallel. If more than one instance is running
at the same time, all of the instances fail.
Example
In this example, the rename_cmp.sh script
is run with the parameter FromCode=testcompany, ToCode=newcompany
and ToName="New Corporation Inc." to rename the
company named testcompany.
$<install dir>/bin/db/rename_cmp.sh --FromCode=testcompany --ToCode=newcompany --ToName="New Corporation Inc."