I am doing a Hetrogeneous query with a DB2 native comnnection and I get:
"DB2 Connections are Not Allowed"
Currently, you cannot create a heterogeneous query that contains objects from a DB2 client connections.
As a workaround, create a ODBC connection using a DSN to the DB2 database and select the objects from the connection.
This requirement will be the same in Toad for Data Analysts 3.1 Base .
It will also be a requirement for XQuery for TeraData and Sybase IQ.
The problem is that Access (which is what we are using for XQuery in Toad for Data Analysts Base) does not allow dynamically created ODBC connections in some cases.
It will only recognize DSNs.
Thus, these connections need to be made by the user.
See Attachment: HOW to create ODBC connection TDA _0.docx
For this error in Toad for Data Analysts, you need to create a DB2 connection using an ODBC connection.You cannot use a native DB2 connection.
For example in TDA 2.7:
Now you should see you User Data Source
Make the connection using the Data Source name from the drop down menu.
The rewritten XQuery in the new Toad for Data Analysts Pro edition does not have these restrictions and is useful in a production environment.
If one is interested in the Toad for Data Analysts Pro edition, one can contact their Sales Rep for additional information.