HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide

[Contents][Glossary][Index][Back][Next]

2.8.1 Environment variables for a source Datareplicator

The following table lists and describes the environment variable settings for a source Datareplicator.

Table 2-17 Information specified in the environment variables for a source Datareplicator

Environment variable Description
PATH Add the following paths:
  • source-Datareplicator's-installation-directory\bin#1
  • %PDDIR%\bin#2
  • %PDDIR%client\utl#2
TZ Specify the time zone of the messages output from the source Datareplicator. This value must match the comparable valued specified in the HiRDB system definition.
PDDIR#3, #4 Specify the source HiRDB directory.
PDCONFPATH#3, #4 Specify the directory for storing the source HiRDB's system definition files.
PDNAMEPORT#3 Specify the source HiRDB's port number.
PDHOST#3 Specify the source HiRDB's host name.
PDUSER Specify the user connected to the source HiRDB.
HDEPATH Specify the source Datareplicator's operation directory. The source Datareplicator's definition files, status files, and error information files are created in this directory. The source Datareplicator's core file (complete processing dump file) is also output to this directory.
In Windows, you can use parentheses in the operation directory name.

Notes:
  • If the source and target Datareplicators are located on the same machine, do not specify the same directory in the HDEPATH and HDSPATH environment variables.
  • If the source HiRDB is a parallel server consisting of multiple server machines, specify the same operation directory for the source Datareplicator at each server machine.
HDE_BIN_COL_MAXLEN Specify a value (kilobytes) that is smaller than the actual definition length of any BLOB-type column that is handled internally in Datareplicator. If a BLOB-type column has a definition length of 2 GB or greater but its actual data is small, this environment variable enables the column data to be linked without having to redefine the table.

Notes:
  • The definition length of each BLOB-type column must be 262,143 KB or less.
  • The value specified in this environment variable applies to all BLOB-type columns that are subject to extraction.
  • For details about the handling of BLOB-type columns whose definition length exceeds the value specified in this environment variable, see 6.4.3(4) Notes about the HDE_BIN_COL_MAXLEN environment variable.

#1: This environment variable is set as the name of the command library during installation; for details, see 2.6.4 Information registered during installation.

#2: If the source HiRDB has been set up using the default settings, this environment variable is set during installation. If the source HiRDB has been set up using the settings with identifiers, make sure that you specify this environment variable.

#3: This is a source HiRDB environment variable. For details about the HiRDB design, see the HiRDB Version 9 Installation and Design Guide.

#4: If the source HiRDB is a parallel server and this setting varies from one server to another, the extraction system definition can be used to define this information for each server machine. If definitions for a specific server are omitted from the extraction system definition, the corresponding server uses the values of the environment variables that were specified for the user environment where the source Datareplicator's commands are executed.