Skip to main content
Solved

How to connect with an ODBC connection ?

  • December 8, 2022
  • 7 replies
  • 106 views

Forum|alt.badge.img+1

I need to connect to an AS400 database. I have an odbc connection working for that but I can use ODBC with DQA. No OBDC driver is available. it is not like what is displayed on the FAQ support page when they explain how to connect to MS access using ODBC.

it seems the driver has disapeared :-(

Best answer by claire

thank you for your detailed answer but my problem is at the database connection level (I kwow how to create profiles I face no issue with MS SQL  or Oracle)

here are screen shots

my  connection is successful


bu

 but  no table is listed

 

in a plan, i creat a new jdbc reader

here you see I access my data

but then  I click on Map to query and Operation in progress never ends

same for map to table

 

View original
Did this topic help you find an answer to your question?

7 replies

DannyRyan
Ataccamer
Forum|alt.badge.img+2
  • Head of Technical Training
  • 41 replies
  • December 8, 2022

Hi Claire,

Welcome to our Data People Community ๐Ÿฆ„

I noticed that you tagged DQA in your post.

JDBC drivers for IBM DB2 Databases are available out-of-the-box in our free Data Quality Analyzer product.

If you right-click on the Database node in the File Explorer, then click New Database Connection.

In the Database Type dropdown youโ€™ll see IBM DB2, which can be used for connections to AS/400.

 

 

Available Database Types

 


Forum|alt.badge.img+1
  • Author
  • Data Voyager
  • 3 replies
  • December 8, 2022

I know, Iโ€™ve already tried but with no successโ€ฆ

Is ODBC not available anymore ?

otherwise iโ€™ve also tried with jdbc for AS400 : Jt400, : the connection is successull but thatโ€™s all

dqa is unable to list the tables of the database (librairy) for example.

if i write myself select * from xxtable itโ€™s ok, I get the data but I canโ€™t create any profile. I can type the columns I want to profile but then when I clik map to query dqa never stops โ€˜searchingโ€™ and I have to kill dqa process and reopen the software


DannyRyan
Ataccamer
Forum|alt.badge.img+2
  • Head of Technical Training
  • 41 replies
  • December 8, 2022

Hi Claire,

ODBC and JDBC are different communications interfaces, typically database vendors will supply both interfaces.

  • ODBC is a standard Microsoft Windowsยฎ interface that enables the communication between database management systems and applications typically written in C or C++.
  • JDBC is a standard interface that enables the communication between database management systems and applications written in Oracle Java.

Our products are written in Java, and utilise the JDBC communication interface.

 

There are a few approaches that you can take to profile tables (or views) from an IBM DB2 (AS/400) database.

Assuming you have your DB2 database configured in the Databases node under file Explorer.

 

First Approach

Is to connect to the database and navigate the schema to locate the Table/View you which to profile.

Once the target is located. Right-click and select โ€˜Create Profileโ€™.

Right-click Create Profile

You will be presented with the Configure Profile dialog box to select the columns and type of profiling analysis you wish to perform.

Configure Profile

Click the Run button

Run Plan
Plan completed successfully

 

Second Approach

Is to build the Plan step by step.

Browse the connected Database in the File Explorer.

Locate the Table/View you wish to Profile and then Drag n Drop the Table into the Plan.

Select the Columns from the Object

You can edit SQL or type fresh SQL from scratch. Be sure to Map your SQL to Table or Query using the buttons in the lower right.

 

Add your Profiler Step, configure as before and run the plan.

 

After your plan has finished running.

Hold down CTRL key and double click on blue Profiler Step in the plan to see the profile results.

Alternative, navigate using the File Explorer to the location of the .profile file you chose.

 


Forum|alt.badge.img+1
  • Author
  • Data Voyager
  • 3 replies
  • Answer
  • December 8, 2022

thank you for your detailed answer but my problem is at the database connection level (I kwow how to create profiles I face no issue with MS SQL  or Oracle)

here are screen shots

my  connection is successful


bu

 but  no table is listed

 

in a plan, i creat a new jdbc reader

here you see I access my data

but then  I click on Map to query and Operation in progress never ends

same for map to table

 


DannyRyan
Ataccamer
Forum|alt.badge.img+2
  • Head of Technical Training
  • 41 replies
  • December 8, 2022

I see from this Database screenshot that you have 1 database connected โ€œDB_SICAME_MDM_PRODโ€ whilst the other database โ€œjt400โ€ is not connected.

Are you able to connect and browse the โ€œjt400โ€ database using the File Explorer?

What happens after you press Connect?

 

What JDBC Driver are you using? It is the out-of-the-box JDBC driver or a different one?

Out of the box JDBC Driver for IBM DB2

 

The out-of-the-box DB2 driver is dated; 2011/10/06 and is intended for DB2 Level 9.7.0.0.
IBM have newer JDBC drivers, it might be worthwhile to try the JDBC driver for your DB2 Product Version / Level.

https://www.ibm.com/support/pages/db2-jdbc-driver-versions-and-downloads


Forum|alt.badge.img+1
  • Author
  • Data Voyager
  • 3 replies
  • December 8, 2022

actually iโ€™ve just come back to dqa.

I think that the connection took around one hour to be able to list all the database content because for the first time since the last 3 days ( :-((  I can see the content. Until now I was not able to browse.

I need to modify my connection so that it doesnโ€™t retrieve so many librairies and tables.

thank you very much for your time

regards

claire


DannyRyan
Ataccamer
Forum|alt.badge.img+2
  • Head of Technical Training
  • 41 replies
  • December 8, 2022

Hi Claire,

I am happy that it works for you ๐Ÿ˜Š

Have fun and a great day.

Danny


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings