Hitachi

Hitachi Advanced Database Application Development Guide


17.3.1 Configuration in ODBC Data Source Administrator

This subsection describes how to configure the output of HADB ODBC driver trace information using ODBC Data Source Administrator.

Organization of this subsection

(1) When outputting HADB ODBC driver trace information

To configure output of HADB ODBC driver trace information:

Procedure

  1. Display the Hitachi Advanced Data Binder ODBC Driver Setup dialog box.

    On the User DSN tab of ODBC Data Source Administrator, select the data source that uses the HADB ODBC driver, and then click Configure....

    [Figure]

    Note

    You can also display the Hitachi Advanced Data Binder ODBC Driver Setup dialog box by performing the same operation on the System DSN tab of ODBC Data Source Administrator.

  2. In the Hitachi Advanced Data Binder ODBC Driver Setup dialog box, click Options>>.

    [Figure]

  3. Click Trace Setup....

    [Figure]

  4. In the Trace Setup dialog box, enter the settings that relate to output of HADB ODBC driver trace information.

    [Figure]

    Specify the following settings:

    • Trace Level

      Select a trace level. For details about trace levels, see 17.4.1 About trace levels.

    • Trace Size

      Specify the maximum size (in MB) of each HADB ODBC driver trace file. You can specify a value in the range from 32 to 1,024.

      If you specify no value or an invalid value, 256 is assumed.

    • Trace Directory Path

      Specify the absolute path of the folder in which to store HADB ODBC driver trace files.

      Click the ... button and select a folder in the dialog box that appears.

      You must specify a folder for which the execution user has access privileges.

      The path name you specify cannot be more than 210 bytes in length.

      Important

      HADB ODBC driver trace information will not be output in the following circumstances:

      • No path is specified in Trace Directory Path.

      • An invalid path is specified in Trace Directory Path.

      • A path that is 211 bytes or longer is specified in Trace Directory Path.

  5. Click Apply & Trace Start.

    [Figure]

    The output of HADB ODBC driver trace information starts.

    Note
    • The Apply & Trace Start button becomes available when you complete step 4.

    • If you decide not to apply these settings, click CANCEL instead of the Apply & Trace Start button.

  6. Click OK.

    [Figure]

  7. In the Hitachi Advanced Data Binder ODBC Driver Setup dialog box, click OK.

    [Figure]

(2) When stopping output of HADB ODBC driver trace information

  1. Display the Hitachi Advanced Data Binder ODBC Driver Setup dialog box.

    On the User DSN tab of ODBC Data Source Administrator, select the data source that uses the HADB ODBC driver, and then click Configure....

    [Figure]

    Note

    You can also display the Hitachi Advanced Data Binder ODBC Driver Setup dialog box by performing the same operation on the System DSN tab of ODBC Data Source Administrator.

  2. In the Hitachi Advanced Data Binder ODBC Driver Setup dialog box, click Options>>.

    [Figure]

  3. Click Trace Setup....

    [Figure]

  4. Click Apply & Trace Stop.

    [Figure]

    The output of HADB ODBC driver trace information stops.

  5. Click OK.

    [Figure]

  6. In the Hitachi Advanced Data Binder ODBC Driver Setup dialog box, click OK.

    [Figure]