cleanup_cmp.sh script
Running the cleanup_cmp.sh
script on an
existing company in Product Master instance
removes the company object itself from the Product Master database.
Along with the company object itself, the script also removes all
information in a company such as items and catalogs in the IBM® Product Master environment.
Note: As a best practice, either run the
cleanup_cmp.sh
script after you stop the
Product Master services or clear the Product Master cache if the services are already
running.Syntax
Note:
cleanup_cmp.sh –-code=company_code
Parameters
- code
- Specifies the company code.
Example
In this example, the cleanup_cmp.sh
script is run with the parameter code =
test. The company "test" is removed from the database.
$<install dir>/bin/db/cleanup_cmp.sh --code=test