BookmarkSubscribeRSS Feed
sasenthusiast07
Fluorite | Level 6

Good morning all,

I have read and write access to the MS AccessDB cause I created an table - I am trying to import the table into sas 

Code:

proc import 

datatable="b:\mydb\QualityC\Poplycarbine data inputs.accdb"

table='tbl001_PCRD'

out=PCRD

DBMS=Access

replace;

run;

 

Error says ---Unable to open the file

where am I going wrong?

1 REPLY 1
jimbarbour
Meteorite | Level 14

The first thing I would check is:  Is the file open?  If the file is open and in use by another user, SAS may not be able to read it.  This is certainly the default behavior for SAS with Excel, so I assume this is also true with Access.

 

Jim

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 589 views
  • 0 likes
  • 2 in conversation