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?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.