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;

AnandVyas
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...

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

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 3 replies
  • 1104 views
  • 2 likes
  • 3 in conversation