BookmarkSubscribeRSS Feed
O_Lavrentii
Calcite | Level 5

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)

4 REPLIES 4
O_Lavrentii
Calcite | Level 5

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

mohamed_zaki
Barite | Level 11

Did you make sure that this is the right dir?

Also what is your sas version and is it 32 or 64?

jakarman
Barite | Level 11

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.

---->-- ja karman --<-----
O_Lavrentii
Calcite | Level 5

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?

sas-innovate-2024.png

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.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 635 views
  • 1 like
  • 3 in conversation