BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
jkwan
Calcite | Level 5

Hi,

 

Just hoping someone would be able to help with this.  I created a ODBC connection and am able to make the connection with Base SAS, but when I try and run it in SAS EG I receive an error message.  

 

Base SAS Code: libname BMITPRD odbc dsn=CFPRD   schema=dbo; run;

 

SAS EG Code: LIBNAME BMITPRD ODBC DSN="CFPRD" schema=dbo;

 

I get the following error message when I try and run in EG:

 

ERROR: CLI error trying to establish connection: [unixODBC][Driver Manager]Data source name not found, and no default driver
specified
ERROR: Error in the LIBNAME statement.

 

Any help or guidance would be appreciated.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

@jkwan wrote:
I believe that is the case. Would this prevent me from being able to run the ODBC connection through EG.

Yes. What you need is a similar ODBC definition on the server, which will most probably require support by the server admin. And it might need the installation of a proper client for your ODBC target on the server.

 

ODBC definitions do not automatically propagate in a network, but must be configured explicitly on each host.

View solution in original post

6 REPLIES 6
jkwan
Calcite | Level 5
I believe that is the case. Would this prevent me from being able to run the ODBC connection through EG.
Kurt_Bremser
Super User

@jkwan wrote:
I believe that is the case. Would this prevent me from being able to run the ODBC connection through EG.

Yes. What you need is a similar ODBC definition on the server, which will most probably require support by the server admin. And it might need the installation of a proper client for your ODBC target on the server.

 

ODBC definitions do not automatically propagate in a network, but must be configured explicitly on each host.

jkwan
Calcite | Level 5
Awesome, thanks for the help.
ballardw
Super User

@jkwan wrote:
I believe that is the case. Would this prevent me from being able to run the ODBC connection through EG.

Yes as your ODBC definition is local. To use EG through that server you would have to have the ODBC linked defined in such a way that the server sees it. You may need to get your SAS admin and IT folks together on possibly solutions such as placing the data source in location that the server has appropriate access to and establishing the connection.

jkwan
Calcite | Level 5
Thanks for the help :).

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 3218 views
  • 0 likes
  • 3 in conversation