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