View Data in ODBC Stage for Teradata

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
rpaulin
Participant
Posts: 4
Joined: Tue Nov 07, 2006 2:42 pm

View Data in ODBC Stage for Teradata

Post by rpaulin »

Hi,

We've just recently upgraded our 7.0.1 instance to 7.5.2.1 on HPUX. We are now having problems viewing data or querying data through the ODBC stage when accessing Teradata.

The Teradata ODBC drivers and libs have not been touched during the upgrade, and we are using the recommended version for our Teradata instance (3.05.06 for V6R2).

I think the dsenv, .odbc.ini, and uvodbc.config files are all configured properly, as we can get a list of tables and views from our Teradata DB, and import the MetaData for them, but we just can't execute a query or view the data through the DS Browser.

This is the error we are getting:

DSBrowser......DSD.GetDBMSDetails call to SQLAllocStmt failed
DSBrowser......DSD.BCIOpenR call to SQLAllocStmt failed
DSBrowser......DSD.BCIClose call to SQLDisconnect failed

Any thoughts or sugestions?

Thank you!
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard. Try creating and running a small job to see if the job can access data (the data browser is a different beast).
ODBC -----> Peek
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rpaulin
Participant
Posts: 4
Joined: Tue Nov 07, 2006 2:42 pm

Post by rpaulin »

Thank you Ray!

I did just that, and was able to see the records from a table in our database.

That must therefore mean that the ODBC connection is configured properly correct? Does DSBrowser require any additional configuration?

Cheers!
rpaulin
Participant
Posts: 4
Joined: Tue Nov 07, 2006 2:42 pm

Post by rpaulin »

Further to my note above...

I was able to view the data through DSBrowser on the parallel ODBC job, however not using the server ODBC job.

Is there any difference in configuring ODBC between Parallel and Server?
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No, but they are completely different data browsers - the server one is written in BASIC, the parallel one uses osh.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rpaulin
Participant
Posts: 4
Joined: Tue Nov 07, 2006 2:42 pm

Post by rpaulin »

That's what I figured.

Therefore I must assume there is something wrong with the DS install, and not my ODBC configuration in the dsenv, .odbc.ini or uvodbc.config.

Do you know of any issues or bugs with the Server ODBC stage? I haven't seen any on the IBM site.

Thanks again!
Post Reply