Setting Up Catalog Objects

In order to save queries and results, you must first create the Web Query Catalog Objects. The Web Query Catalog Objects consist of three tables: WQ.INDEX_TABLE, WQ.STORE_TABLE, and WQ.SMTP.

To create the Web Query Catalog Objects:

1.         In the DB2 Web Query Tool navigation tree, click any connection. The Connections dropdown menu appears.

2.         On the drop down menu, click Setup. The Setup page opens.

3.         Type the DB2 Web Query Tool user ID and password that you want to use to access the Setup Utility.

4.         Click Login. The DB2 Web Query Tool Setup: Administrative Connection page opens.

5.         Click Catalog. The Setup: Catalog page opens, with the necessary DDL (data definition language) to create the tables that are listed.

6.         Optional: Modify the SQL to change where or how the DB2 Web Query Tool Catalog Objects are stored.

WARNING:       Do not change the structure or names of the Web Query Catalog Objects.

7.         Click Create. DB2 Web Query Tool creates the Web Query Catalog Objects.

Tip:     You can also issue the DDL to create the Web Query Catalog Objects from another tool, such as SPUFI, by copying and pasting the SQL that appears in the setup window.