Nonstop Database, HiRDB Version 9 System Operation Guide
This example changes the name of user RDAREA RDAREA01 to RDAREA10.
pdhold -r RDAREA01 -c |
A control statements file that describes the alter rdarea statement of the pdmod command (/pdmod/alter01) is created. The following are the contents of the control statements file:
alter rdarea RDAREA01 rename rdarea to RDAREA10; |
pdmod -a /pdmod/alter01 |
pdlogswap -d sys -w |
When an RDAREA name is modified, both the master directory RDAREA and the dictionary RDAREA are updated. The RDAREAs are backed up as a safeguard in the event of errors after the RDAREA name is modified, so that the RDAREA can be restored to the most recent state. If you do not back up data at this stage, the recovery process will become more complex. For details about how to back up data, see 6. Backup Procedures, and for details about how to restore the RDAREA if it was not backed up, see 15.5.3 Recovering an RDAREA that was not backed up during RDAREA name modification.
pdcopy -m /rdarea/mast/mast01 -M r -r RDMAST,RDDIC,RDAREA10 -b /pdcopy/backup01 -p /pdcopy/list01 |
pdrels -r RDAREA10 -o |
We recommend that after the command has executed you check whether the execution results are correct. For details about how to check command execution results, see the manual HiRDB Version 9 Command Reference.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.