The CHANGE DATABASE command modifies a physical RMS database
element by performing a change in place. CDO changes the values
you specify, and other values remain the same.
If an RMS database element is controlled, CDO freezes previous
versions and allows you to modify only the highest visible
version. If an RMS database is uncontrolled, CDO modifies the
highest version unless you specify another version number.
If an RMS database element is controlled, you must reserve the
database before you can issue the CHANGE DATABASE command. The
SHOW DATABASE or SHOW RESERVATIONS command indicates whether this
condition exists.
The ON clause moves a physical RMS database to a new location on
disk. When you specify the ON clause, CDO issues a notice asking
you to confirm that you want to move the database. This notice
cannot be suppressed.
If the CHANGE DATABASE command succeeds, Oracle CDD/Repository
moves the physical file on disk and updates the pointer to the
physical file in the repository. If the CHANGE DATABASE command
fails, Oracle CDD/Repository does not move the database.