The dbadmin mode is a utility that starts the data manipulation layer of the CA SDM system without starting the object layer, providing the ability to lock the entire database to perform low-level data maintenance without jeopardizing data integrity.
For example, you may want to use pdm_extract, pdm_load, pdm_deref, and pdm_replace for performing batch data updates on the system. By using dbadmin, the administrator is essentially placing a database lock on the entire system. The backup (pdm_backup) and restore (pdm_restore) utilities, both automatically place the system in dbadmin mode to guarantee a consistent backup and restore.
The dbadmin mode is also useful if you want to customize the system without starting the object layer until the data is modified. For example, making an attribute “required” in majic on an existing system can confuse the animator if it needs to update an object that has the required attribute null. You can put the system into dbadmin mode and update the objects using pdm_load, and then start the system as usual.
To place the system into dbadmin mode
Note: It is a good practice to send an announcement to alert users and to check for logged in users before halting the system.
pdm_d_mgr -s DBADMIN
Note: There is no return message, but a pause occurs before the command prompt returns. If there is no pause, check your spelling to verify that you entered data correctly.
Note: When the system is in dbadmin mode, the system returns the following status, which indicates that it is safe to work on the system:
C:\>pdm_status The Daemons are not running.
Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |