2.2.3 Environment variables

Organization of this subsection
(1) Environment variables that are set
(2) Note

(1) Environment variables that are set

When you choose to have HiRDB environment variables set in the system's environment variables at installation, the following environment variables will be set in the system environment variables once installation is complete. To check the environment variables, in the Control Panel, double-click System, then in the System Properties dialog box, choose Environment.

Table 2-3 System environment variables to be set

Environment variableInformation to be specified
PDDIR#1HiRDB directory (installation directory) is set.
Example: C:\win32app\hitachi\hirdb_s
PDCONFPATH#1The directory for storing HiRDB system definition files is set.
Example: C:\win32app\hitachi\hirdb_s\CONF
PATH#2%PDDIR%\CLIENT\UTL and %PDDIR%\BIN are added.
Example: C:\win32app\hitachi\hirdb_s\CLIENT\UTL
C:\win32app\hitachi\hirdb_s\BIN
Note that %PDDIR%\BIN is added at the end of PATH.
PDUXPLDIRHiRDB's work directory is set.
Example: C:\win32app\hitachi\hirdb_s\UXPLDIR
#1
The PDDIR absolute path name can contain a maximum of 200 bytes and the PDCONFPATH absolute path name can contain a maximum of 213 bytes.
#2
When the value set for PATH is 512 bytes or greater, the environment variables shown in the table will not be set correctly. Should this happen, check the environment variable settings and revise them as necessary.

Note that the LANG environment variables are not set and must be set by the user. For details, see the HiRDB Version 9 UAP Development Guide.

(2) Note

For standard setup, you can choose whether to set HiRDB environment variables so as not to affect the system as a whole (excludes Windows Server 2003 (IPF) and Windows (x64)). Notes on the setting method selected for HiRDB environment variables follow.

Notes on not setting HiRDB environment variables in the system environment variables
  • Operating methods are the same as for multi-HiRDBs. For details about multi-HiRDBs, see Chapter 10. Designing a Multi-HiRDB.
  • If you are using a program that assumes a standard HiRDB setup, you must set environment variables. For details, see the release notes or documentation for the relevant program.
  • HiRDB environment variables must be set, even for programs that are compatible with a multi-HiRDB. For details about the environment variables that must be set, see the release notes or manual for the relevant program.
Notes on setting HiRDB environment variables in the system environment variables
Other programs might access the HiRDB's VC runtime DLL (msvcr71.dll). If the VC runtime DLL provided by HiRDB is older than the VC runtime DLL provided by another program, the other program might not run as intended. For this reason, the HiRDB directory must be set at the end of the PATH environment variable. Note that the HiRDB directory is set at the end of the PATH environment variable immediately after HiRDB is installed, but it might no longer remain at the end of the PATH environment variable after other programs are installed, or in similar situations.
Additional notes
In version earlier than 08-02, the HiRDB installation path registered in the PATH environment variable at installation is not deleted, so HiRDB installation paths not used by the PATH environment variable might remain. In 08-02 and later versions, unused HiRDB installation paths are deleted from the PATH environment variable.