2.106 pdsetenv (Set up an environment for a HiRDB unit)

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

(1) Function

The pdsetenv command sets up an environment for a HiRDB unit.

(2) Executor

Superuser

(3) Format

pdsetenv -v {recom|v0904}

(4) Options

(a) -v {recom|v0904}

In HiRDB, the default values for system definition operands might change from one version to the next. This option specifies the default operation when operands are omitted:

recom: Recommended mode
v0904: 0904 compatibility mode

Specify this setting on each unit. The same value must be specified on all units in the HiRDB system.

(5) Rules

  1. The pdsetenv command can be executed only while HiRDB is inactive.
  2. Execute the pdsetenv command on each server machine.
  3. In the PDDIR, PDCONFPATH, and LD_LIBRARY_PATH (SHLIB_PATH in HP-UX and LIBPATH in AIX) environment variables that are required for executing HiRDB operation commands, specify the value for the HiRDB directory subject to processing by the pdsetenv command and then execute the pdsetenv command.

(6) Notes

  1. The following are the pdsetenv command's return codes:
    0: Normal termination
    8: Abnormal termination
  2. Execute the pdsetenv command immediately after HiRDB has been set up or while offline after HiRDB has terminated normally. If HiRDB did not terminate normally, HiRDB startup might fail.
  3. Do not execute the pdsetenv command concurrently with any other HiRDB command.
  4. The pdsetenv command is used to change the HiRDB unit environment settings that are specified in the pdsetenv command options. Normally, you use the pdsetup command with appropriate options specified to set up a HiRDB unit environment.