pdprgcopy (Copy a HiRDB update version)
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 8 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 |
Executor
Format
- HiRDB-update-version-installation-directory/bin/pdprgcopy-HiRDB-directory- |
Command arguments
- HiRDB-update-version-installation-directory
<path name> ((Linux version: 1-27; other: 1-128))
Specifies the HiRDB directory of the HiRDB that is to be updated to the HiRDB update version.
Rules
- 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 or HiRDB/Parallel Server)
- Version and revision
- Addressing mode (32-bit or 64-bit mode)
Notes
- 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 codes 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.