10.1.2 Setting the environment for a multi-HiRDB

Organization of this subsection
(1) Setting environment variables
(2) Specifying HiRDB system definitions
(3) Specifying client environment definitions

(1) Setting environment variables

Each HiRDB administrator separately defined with a multi-HiRDB server uses the PDDIR environment variable to identify his/her own HiRDB. Specify the HiRDB directory in the PDDIR environment variable for each HiRDB administrator.

If you specify %PDDIR%\bin in the PATH environment variable for each HiRDB, only the previously specified HiRDB operation commands in PATH become available. To operate each HiRDB individually, you should provide a window for each HiRDB and define the environment variable for each window.

(2) Specifying HiRDB system definitions

Create a HiRDB system definition for each HiRDB. Specify the following information appropriately to each HiRDB in the HiRDB system definition:

(3) Specifying client environment definitions

Use the PDNAMEPORT operand of the client environment definition to specify a HiRDB to be accessed from a client. Specify the port number of a HiRDB to be accessed in the PDNAMEPORT operand. For details about the client environment definition, see the HiRDB Version 9 UAP Development Guide.