Once the superuser has changed the HiRDB directory owner to the HiRDB administrator and has registered the directory into the OS, the HiRDB administrator can set the environment.
This section describes how the HiRDB administrator sets OS environment variables and creates HiRDB file system areas in order to construct the HiRDB system.
The HiRDB administrator must set in the environment variable file shown in (a) as follows the values shown in (b) as follows.
The HiRDB administrator sets the environment variables in either of the following files, depending on the type of shell used:
The HiRDB administrator uses an OS command to set the environment variables listed in Table 23-9 in the appropriate file (as indicated above).
For details about the command to be used, see the applicable OS documentation.
Table 23-9 Information to be set for environment variables
Variable | Information to be set | Description |
---|---|---|
PDDIR | /opt/HiRDB_P | Absolute path of the HiRDB directory |
PDCONFPATH | $PDDIR/conf | Directory for storing HiRDB system definitions |
PATH | $PDDIR/bin | Directory for storing HiRDB commands and utilities |
$PDDIR/client/utl | Directory for storing HiRDB client libraries | |
$PDDIR/plugin/phsgml/bin | Directory for storing SGML plug-in commands and utilities of the HiRDB Text Search Plug-in | |
SHLIB_PATH | $PDDIR/lib | Directory for storing HiRDB programs, etc. |
PDHOST | Example: hostA1,2 | Server machine's host name |
PDUSER | "manager"1 | Schema owner |
PDNAMEPORT | Example: 200001,2 | Server machine's port number |
The interactive SQL execution utility (HiRDB SQL Executor) enables retrievals to be made interactively from SGML documents in a UNIX environment.
For details about the environment variable settings for the interactive SQL execution utility, see the documentation or document files provided with the corresponding software.