BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
shruthinayakvad
Calcite | Level 5
22   proc sql;
23   connect to oracle(user=shruthi password=XXXX path='SAS');
ERROR: The ORACLE engine cannot be found.
ERROR: A Connection to the oracle DBMS is not currently supported, or is not installed at your site.
24   select * from connection to oracle(select * from plans_2008 unionall select * from plans_2009);
ERROR: The ORACLE engine cannot be found.
ERROR: A Connection to the oracle DBMS is not currently supported, or is not installed at your site.
25   disconnect from oracle;
ERROR: Connection to the oracle DBMS does not exist.
26   quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
      real time           0.08 seconds
      cpu time            0.01 seconds

 Why is my application unable to connect to oracle? 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

It appears you don't have SAS/ACCESS to Oracle installed in your environment.  Run proc product_status; run; to verify.

 

You might be able to connect using ODBC (if you have SAS/ACCESS to ODBC).

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!

View solution in original post

3 REPLIES 3
ChrisHemedinger
Community Manager

It appears you don't have SAS/ACCESS to Oracle installed in your environment.  Run proc product_status; run; to verify.

 

You might be able to connect using ODBC (if you have SAS/ACCESS to ODBC).

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!
shruthinayakvad
Calcite | Level 5
31 proc product_status;
32 run;

For Base SAS Software ...
Custom version information: 9.4_M2
Image version information: 9.04.01M2P072314
For SAS/STAT ...
Custom version information: 13.2
For SAS/GRAPH ...
Custom version information: 9.4_M2
For SAS/ETS ...
Custom version information: 13.2
For SAS/OR ...
Custom version information: 13.2
For SAS/IML ...
Custom version information: 13.2
For High Performance Suite ...
Custom version information: 2.2_M1
For SAS/ACCESS Interface to PC Files ...
Custom version information: 9.4_M2
NOTE: PROCEDURE PRODUCT_STATUS used (Total process time):
real time 0.04 seconds
cpu time 0.03 seconds

I did run the statement mentioned.The above appears in log.
??
ballardw
Super User

The connection method you attempted would have required the output to show something like

For SAS/ACCESS to Oracle

The result means that was not loaded.

 

You can run Proc Setinit; run; to show what is licensed. It may be that you have a license but the module wasn't installed for you. Which could be an easy partial reinstall. If Oracle (or the ODBC) doesn't appear in the license then license changes will be needed and then an updated install.

 

Without ODBC or the Oracle you will be stuck until one is installed.

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 2952 views
  • 0 likes
  • 3 in conversation