2.95 pdprgcopy (Copy a HiRDB update version)

Organization of this section
(1) Function
(2) Executor
(3) Format
(4) Command arguments
(5) Rules
(6) Notes

(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/binHiRDB operation commands and utilities
installation-directory/lib$PDDIR/renew/libHiRDB libraries, message text files, and system definition analysis files
installation-directory/client$PDDIR/renew/clientHiRDB client libraries, operation commands, and utilities
installation-directory/include$PDDIR/renew/includeHeader files used during UAP creation

(2) Executor

HiRDB administrator

(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.

(5) Rules

  1. The pdprgcopy command can be executed at any time, whether or not HiRDB is active.
  2. The pdprgcopy command must be executed at the server machine that contains the single server or where the system manager is located.
  3. 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)

(6) Notes

  1. The pdprgcopy command creates an update directory ($PDDIR/renew). If this directory already exists, rename it beforehand.
  2. Before executing the pdprgcopy command, make sure that the HiRDB directory has enough space.
  3. Before executing the pdprgcopy command, you must install the HiRDB update version on all units.
  4. The existing HiRDB and the HiRDB update version will have the same character code type and load type (POSIX or non-POSIX library version).
  5. 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.