BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am trying to connect oracle through libname method.
where can i find the oracle path for establishing the connection.
Please help me with this
4 REPLIES 4
deleted_user
Not applicable
i installed the oracle on my system and i am trying to connect to it.
i couldnt find the path for oracle.Please help me with this

Thanks
Prathyusha
TomKari
Onyx | Level 15
Hi, Prathyusha

Connecting to a database for the first time can be tricky. First, you have to know which machine is actually making the Oracle connection; it might be your local workstation, if you are using EG connected to your "local" server, or the server that you are connecting to to run SAS.

Once you know this, I suggest the following steps to get the connection working: First, use the Oracle client (sql*plus) to ensure that you can successfully interconnect with the database. You'll need help from the Oracle DBA to do this, both for the client software installation, and the connection parameters that you'll need.

Then try setting up a libname from SAS to connect to the database. I think you'll need a path, schema, userid, and password. If you can get that going, you should be in pretty good shape.

Good luck,
Tom
deleted_user
Not applicable
Thanks Tom
SASKiwi
PROC Star
Usually the secret to getting Oracle connections working is you need Oracle client software (SQL*Net and SQL Plus)installed on your PC or server. Included in this install is a file called TNSNAMES.ORA that defines all of the Oracle databases you need to access. In most companies this is a standard file for all Oracle users. Message was edited by: SASKiwi

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 4 replies
  • 1706 views
  • 0 likes
  • 3 in conversation