Hi,
I am trying to export a sas dataset to MS Access database using following code on EG SAS:
Proc export table="TEST"
outtable="TEST"
DBMS= Access Replace;
Database="Location..\TEST.accdb";
run;
But I am getting this error message:
Error: Connect: Class not registered
I had the same issue with proc export to excel file. When I changed the DBMS to XLS or XLSX form EXCEL. it worked for Excel. But not sure about exporitng to MS Access db.
I would appreciate your help..
Thanks
Then an additional configuration is needed. You would need to install (or ask your admin to install) the PC Files Server. On a Windows machine, you don't need it to run as a service all of the time. SAS will automatically start the process for you as needed. The only step that you should need to do is install it.
This SAS Note contains some instructions:
If you need additional help, I suggest that you work with SAS Technical Support on this.
Chris
I suspect that this is the issue:
The top gotchas when moving to 64-bit SAS for Windows - The SAS Dummy
To fix, try DBMS=ACCESSCS.
Chris
Hi Chris,
I tried using DBMS=ACCESCS and here is what I see:
ERROR: Failed to connect to the Server:
Thanks
sorry there was a typo..I used ACCESSCS.
Then an additional configuration is needed. You would need to install (or ask your admin to install) the PC Files Server. On a Windows machine, you don't need it to run as a service all of the time. SAS will automatically start the process for you as needed. The only step that you should need to do is install it.
This SAS Note contains some instructions:
If you need additional help, I suggest that you work with SAS Technical Support on this.
Chris
Thanks Chris! It worked.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: