I'm having a bit of trouble with SAS Enterpise Guide to export a Access database. I'm running 64-bit Windows, 32-bit SAS. I've downloaded the PC File Server. I am using the next code.
proc export
data=work.rr_if
outtable='ACCESS'
dbms=ACCESS replace;
database='D:\Users\martin\Desktop\prueba.mdb';
run;
When i run the program, i get "Connection Failed. See log for details." I need more details.
Someone can i help me?.
Thanks, Felix.
Check whether the PC File Server process is running.
If possible post the complete error message.
And what does the log say?
Hi
In order to use the SAS PC File Server with Proc EXPORT, you need to use dbms=ACCESSCS instead of dbms=ACCESS, see also code below.
proc export
data=sashelp.class
outtable='fromSAS'
dbms=ACCESSCS
replace
;
database='c:\temp\sample.mdb';
run;
Bruno
Try changing
database='D:\Test.mdb';
to
database='D:\Test.accdb';
The file extensions changed.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.