Hitachi

Hitachi Advanced Database Application Development Guide


4.4.1 How to create a client definition

The following explains how to create a client definition.

To create a client definition:
  1. Copy the model client definition file (client.def#) from %ADBCLTDIR%\sample\conf\ to %ADBCLTDIR%\conf\.

    #: For an HADB client for Linux, the model client definition file is $ADBCLTDIR/sample/conf/client.def.

  2. Use a text editor to open the copied client definition file (%ADBCLTDIR%\conf\client.def#).

    #: For an HADB client for Linux, the model client definition file is $ADBCLTDIR/conf/client.def.

  3. Specify each operand in the client definition. For explanations of operands in the client definition, see 2. Designing Client Definitions.

  4. After you have created the client definition, overwrite the file. Do not change the file name (client.def).

Grant read and write permissions for the client definition file only to the OS user who manages the HADB client.

The specified operand values in the client definition are output as the KFAA50027-I message to the client message log file when a connection handle is allocated.