Use the ccm delete command to delete one
or more obsolete products that are based on a set of selection criteria.
Use this command to reclaim disk space that is used by obsolete
products. You can use a query to select the files to delete.
Windows
Procedure
Start a Rational® Synergy
session from the command line as user ccm_admin.
> ccm start /d \\loon\ccmdb\testrme /r ccm_admin
You
must be working as the CM administrator.
Run a query to find all products that are not used in any
projects.
> ccm query "is_product=TRUE and
not is_bound()"
Delete the object versions.
>
ccm delete @
You can create a batch file that contains
commands such as ccm query and ccm delete.
Then, you can use the Scheduler to automate the product file deletion.
Change back to your previous role.
UNIX
Procedure
Start a Rational Synergy
session from the command line as user ccm_admin.
For example, start a session on the testrme database
as follows: