IBM Books

Administration Guide


Troubleshooting QueryEnabler

The QueryEnabler is both an ODBC driver and an ODBC application. When trapping user queries, it acts as an ODBC application. When performing database access to DB2, it acts as an ODBC driver.

Whenever a problem occurs, you should check the following:

Note:You may also want to check the DB2 diagnostic log for DB2-related problems.

In order to help identify problems, IBM support representatives may employ the following tracing mechanisms collectively or separately:

The first three trace facilities are described in the Troubleshooting Guide. Refer to this document for detailed instructions.

DB2 QueryEnabler trace is enabled by editing the INI file DB2IWM.INI located in the Windows system directory and changing the value of LOG from FALSE to TRUE.

After this modification, the application accessing QueryEnabler should be restarted and the problem under investigation should be repeated to generate a diagnostic log called DB2IWM.LOG located in the root of the C partition, i.e. C:\DB2IWM.LOG.

This file will contain all ODBC function calls accessed in QueryEnabler by the application. QueryEnabler will continue to log information to this file until the LOG parameter in the DB2IWM.INI file is reset to FALSE. Ensure that there is sufficient free disk space on the C partition to support this file.

Common QueryEnabler Problems

  1. The application is unable to connect to DB2:

  2. The application is unable to access the QueryEnabler query submission dialogs:

  3. The QueryEnabler dialogs appear unexpectedly:

  4. The query application is unable to submit a query to the DB2 Query Patroller server using QueryEnabler:

  5. The application has submitted a query to the DB2 Query Patroller server but the query is not being executed:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]