Nonstop Database, HiRDB Version 9 Command Reference
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
(1) Function
Before the pdprgrenew command is executed, the pdprgcopy command is used to copy HiRDB programs from the HiRDB update version installation directory to the update directory ($PDDIR/renew). For details about upgrading to a HiRDB update version, see the HiRDB Version 9 Installation and Design Guide. The following files are copied to the update directory:
| HiRDB update version installation directory (source) |
Update directory (target) |
Description |
| installation-directory/bin |
$PDDIR/renew/bin |
HiRDB operation commands and utilities |
| installation-directory/lib |
$PDDIR/renew/lib |
HiRDB libraries, message text files, and system definition analysis files |
| installation-directory/client |
$PDDIR/renew/client |
HiRDB client libraries, operation commands, and utilities |
| installation-directory/include |
$PDDIR/renew/include |
Header files used during UAP creation |
(2) Executor
(3) Format
HiRDB-update-version-installation-directory/bin/pdprgcopy HiRDB-directory
|
(4) Command arguments
(a) HiRDB-update-version-installation-directory
~<path name> ((Linux edition: 1-118; other: 1-128))
Specifies the HiRDB directory of the HiRDB that is to be updated to the HiRDB update version.
- The pdprgcopy command can be executed at any time, whether or not HiRDB is active.
- The pdprgcopy command must be executed at the server machine that contains the single server or where the system manager is located.
- You cannot execute the pdprgcopy command if the following information does not match between the existing HiRDB and HiRDB update version:
- Type of HiRDB (HiRDB single server configuration or HiRDB parallel server configuration)
- Version and revision
- Addressing mode (32-bit or 64-bit mode)
- The pdprgcopy command creates an update directory ($PDDIR/renew). If this directory already exists, rename it beforehand.
- Before executing the pdprgcopy command, make sure that the HiRDB directory has enough space.
- Before executing the pdprgcopy command, you must install the HiRDB update version on all units.
- The existing HiRDB and the HiRDB update version will have the same character code type and load type (POSIX or non-POSIX library version).
- The result of the pdprgcopy command can be checked on the basis of the return code from execution of the command. A return value of 0 for this command indicates normal termination; 8 indicates abnormal termination. When the return code is 8, see the previous message and eliminate the cause of the error.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.