A few Micro Focus development tools, such as SQLWizard and XDB Migrate, use special tables in which they maintain control information. These programs also need access to system tables. Before you can successfully use these tools with XDB Link, you must do the following in DB2:
Micro Focus provides a script file (XDBLINK.SQL, in the XDB program directory) to create the necessary files and grant the required privileges. Ask your DB2 database administrator to examine this script file and customize it for your DB2 site. He or she may want to edit this script to:
After the script is customized, run it against your DB2 location using a tool such as SPUFI on the host. Or, use the following steps to run the script with SQLWizard from an XDB client workstation.
To perform these steps, you must have SELECT privileges on the DB2 system tables and you must be authorized to create tables.
To run the XDBLINK script using SQLWizard
If you are using XDB Link in a... | Make these selections... |
---|---|
Gateway configuration | In the Server Name field, select the name of the XDB Server on which XDB Link is installed. In the Location field, specify the name of the DB2 location. In the Protocol field, select protocol this machine will use to commu-nicate with the XDB Server on which XDB Link is installed. |
Direct-connect configuration | In the Location field, specify the name of the DB2 location. In the Protocol field, select DRDA. |