proc IMPORT out=data
datatable='data'
dbms=access replace;
database='c:\user\database2.accdb';
run;
an error occurred during the execution of this code
I just start my work with SAS and will so appriciate if you could help my to solve this problem)
ERROR: Unable to open file C:\Users\Database2.accdb. It does not exist or it is already opened exclusively by another user, or you need permission to view its data.
my win 64
Did you make sure that this is the right dir?
Also what is your sas version and is it 32 or 64?
add to that list of questions on the environment.
Client/Server approach or a standalone desktop version.
When Client/Server the version/type of the SAS/Server process and whether access pcfiles is licensed.
I am guessing it is a Windows server based one.
ERROR: Unable to open file . It does not exist or it is already opened exclusively by another user, or you need permission to view its data.
There is some special requirements for access files?
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.