BookmarkSubscribeRSS Feed
KarimTassine
Fluorite | Level 6

Hello everyone!

I am trying to connect my database in SAS studio using an sql pass-through facility. 

But everytime i run the program, i get this error :

ERROR: The SERVER= option is required for establishing a connection through the SAS/ACCESS Interface to PC Files.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
 
So, i am wondering if this issue is only on SAS studio and SAS Academic Edition!
 
Thank you.
 
3 REPLIES 3
ballardw
Super User

You may get a better response showing the actual code submitted.

 

And which SQL source you want to connect to.

KarimTassine
Fluorite | Level 6

Thanks for reply.

this is a part of the code :

proc sql;
connect to pcfiles(path="&path\database\all.accdb"
dbpassword=sastest);
select DEALID, Duration, Score, Decision
from connection to pcfiles
          (select top 10, DEALID, Duration, Score, Decision
          from clients
          where score is not null
          order by score desc);
disconnect from pcfiles;
quit;

Anand_V
Ammonite | Level 13
If you are trying this on SAS University Edition PCFILES server not supported. See the link below:
https://communities.sas.com/t5/SAS-Programming/pcfiles-serverr-with-SAS-University-Edition/td-p/2440...

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 517 views
  • 2 likes
  • 3 in conversation