The ccmdb info command reports or modifies the characteristics of the specified database.
The user for this command is the Rational® Synergy administrator and any user. Any user can obtain information about the database by using the keyword switch. However, only the Rational Synergy administrator can change the database information with the value switch.
database_path
Specifies the database for which characteristics are being reported.
/k|/keyword keyword
Obtains database information. By default, all keyword database information is shown. Keywords are not case-sensitive.
Use any one of the following keywords to designate the database information you want to receive:
active | all | case | database | dbpath | hostname | orhost | platform | protect | schema | size | version
/v|/value value
You must use any one of the following keyword settings to change database information:
[hostname | dbpath | case | next_cvid]
/k hostname /v value
Enables you to change the hostname. Required if a machine name is changed or a database is copied.
/k dbpath /v value
Enables you to change the database path. Required if the file system or a shared name is changed.
The following two keyword settings have special values that you must know.
/k case /v value
Enables you to change a Rational Synergy database between two modes: LOWER or PRESERVE.
The default LOWER mode causes file and directory names to be stored in lower case. The PRESERVE mode maintains the case preserving setting.
If a database contains objects with upper- or mixed-case names, changing case from PRESERVE to LOWER down cases all user entry. Queries, scripts, and so on, containing upper- or mixed-case objects do not work correctly.
/k next_cvid /v value
Sets the next cvid number to the given value. The value passed must be greater than the maximum cvid currently in use. You cannot adjust the next cvid counter downwards.
> ccmdb info \\orbit\ccmdb\test_ccm /k ORHOST /v bill
> ccmdb info \\bulldog\ccmdb\alpha /k case /v preserve
> ccmdb info \\boon\ccmdb\test_db VERSION=7.1 PLATFORM=WINDOWS HOSTNAME=vortex ORHOST=vortex DBPATH=\\boon\ccmdb\test_db DATABASE=informix PROTECT=unprotected ACTIVE=YES (database is active) CASE=PRESERVE SIZE=2992 KBYTES SCHEMA= 0109
> ccmdb info /k next_cvid /v 10000 \\orbit\ccmdb\basek2 Setting next cvid to 10000 for database \\orbit\ccmdb\basek2.