Scalable Database Server, HiRDB Version 8 UAP Development Guide

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

6.7.3 Registering an environment variable group in a Windows environment (file registration)

The client environment definitions can be set to a file and the environment variable definitions can then be obtained from the file during HiRDB server connection.

To register an environment variable group to the file, you must specify [HIRDB] in the first line.

An example of setting an environment variable group to a file (c:\HiRDB_P\Client\HiRDB.ini) is shown below.

Example
[HIRDB]
PDCLTPATH=trace-file-storage-directory
PDHOST=system-manager-host-name
PDUSER="authorization-identifier"/"password"
PDNAMEPORT=name-service-port-number
PDCLTAPNAME=identification-name-of-UAP-to-be-executed

Note
For a UAP using the Type4 JDBC driver, follow the rules described in 6.7.1 Registering an environment variable group in a UNIX environment.