?
Solved

SAS Teradata ODBC Connection

Posted on 2011-09-30
2
Medium Priority
?
2,921 Views
Last Modified: 2013-11-16
Hi,

I am relatively new to SAS. I am using Enterprise Guide 4.1 and trying to connect to a Teradata DB using ODBC. My Teradata client uses ODBC to connect to the server and I have successfully used the same ODBC to connect using R.

If I click on File->Open->ODBC... then select the same ODBC data source as I use in R and Teradata client, input my password and click OK I get the error message

Enterprise Guide cannot open the data file: ODBC;DSN=my_odbc_name; UID=my_username;PWD=*******;
Error opening data "ODBC;DSN=my_odbc_name; UID=my_username;PWD=my_password; ".
Failed to open the data set in READ mode.
Do you want to remove all references to this file from the project?

What am I doing wrong?

Thanks

Mike
0
Comment
Question by:hungoveragain
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
hungoveragain earned 0 total points
ID: 36923294
I have found this is possible with the following code

libname TODBC odbc
datasrc = 'MyODBC'
user = 'USERNAME'
password = 'SECRET'
schema = 'SCHEMANAME'
;

This will create a library within the local server containing every table and view as its own data source.

Clicking New->ODBC and connecting to the ODBC does not work. However

BEWARE! The ODBC connection is woefully slow. If you are accessing a table / dataset of more than about 10,000 rows you will find it quicker to export to a text file and import that (yes really).

Alternately there is a SAS / ACCESS set of modules but these require licenses and some kind of server side configuration.

Mike
0
 

Author Closing Comment

by:hungoveragain
ID: 36923296
This is the answer
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question