Forum Discussion
DB2 error: SQL0204N...is an undefined name
I'm trying to connect to an IBM DB2 database on z/OS using the IBM driver (the Microsoft driver requires a package collection to be specified whose value I am unaware of). If I select "Navigate using full hierarchy" then I get the following error:
SQL0204N "SYSCAT.SCHEMATA" is an undefined name
If I do not select "Navigate using full hierarchy" then I can see all the tables in the Navigator (major breakthrough for me) but when I choose any table I get the following error:
SQL0204N "SYSCAT.COLUMNS" is an undefined name
It feels like I'm so close to success. Can anyone help me overcome this? Thanks so much!!!
11 Replies
- robarivasPost Patron
Update: now, for unknown reason, I cannot even see the tables anymore. Instead I get the following message when I try to connect with the IBM driver:
"IBM DB2: ERROR [08001] [IBM] SQL30081N A communication error has been detected. Communication protocol being used: "SSL". Communication API being used: "SOCKETS". Location where the error was detected: "SOCKETS". Communication function detecting the error: "sqlccSSLSocketSetup". Protocol specific error code(s): "410", "", "". SQLSTATE=08001"
Hopefully this message in a bottle ends up "onshore" and someone responds. But it seems lately that hasn't been happening anymore. Has something about the nature of the Power BI community forum changed? Or is my problem so esoteric that nobody (not even Microsoft) has any thoughts and/or inclination to respond/assist?
- AnonymousNot applicable
Hi robarivas,
I am able to connect to IBM db2 database in the latest version of Power BI Desktop using both IBM driver and Microsoft Driver.
In your scenario, do you encrypt the connection between IBM and client using SSL? If so, ensure that you have configured these settings described in this article. In addition, are you able to connect to your IBM DB2 database from IBM data studio? Please make sure that IBM data studio is installed in the same machine as Power BI Desktop.
Thanks,
Lydia Zhang- robarivasPost Patron
Hello Anonymous. Thank you for your response. Are you confirming that you've successfully connected to a DB2 database on z/OS specifically? One of my concerns is that the Power BI DB2 connector might be for a different "flavor" of DB2 (like "LUW").
I do not know if I encrypt the connection. If I do it is not intentional. Is there a way I can configure something so as to prevent SSL encryption?
I did try Data Studio and it did connect to the database sucessfully. However, it did nothing as far as I could tell to help with my Power BI connectivity issue.
- AnonymousNot applicable
Hi robarivas,
I connect to IBM DB2 for Windows. I would recommend you contact IBM support about that how you prevent SSL encryption.
By the way, do you install the Data Studio on the same machine that installing Power BI Desktop?
Thanks,
Lydia Zhang
- JeickFrequent Visitor
For people that still get this error when trying to connect via IBM Driver…
"IBM DB2: ERROR [08001] [IBM] SQL30081N A communication error has been detected. Communication protocol being used: "SSL". Communication API being used: "SOCKETS". Location where the error was detected: "SOCKETS". Communication function detecting the error: "sqlccSSLSocketSetup". Protocol specific error code(s): "410", "", "". SQLSTATE=08001"
My solution was manually disabling encryption for my Data Source in Power BI which resulted in another error message:
"An error happened while reading data from the provider: 'The type initializer for 'Microsoft.HostIntegration.Common.TelemetryCLient' threw an exception.'"
This error only seems to occur when Microsoft’s DB2 OLEDB driver is installed on the same system as Power BI Desktop. For people who don’t have this driver installed step 1 might already fix the error.
For a fix/workaround of the second error look at the last posts in this thread:
https://community.powerbi.com/t5/Issues/DB2-support-Default-driver-not-working/idi-p/715435
- tyokokokok2Frequent Visitor
I feel your pain.
I too am confused and stymied by this error message.