BookmarkSubscribeRSS Feed
Quartz | Level 8

Dear All,


I just have one question in general. Can i read in a access file in SAS while I don't have MICROSOFT ACCESS  installed?

I tried using libname satement and import, neither worked.


Thank you!


Best wishes.

Super User

AFAIK you don't need Access to read an Access DB.

Post the code you've tried and the errors you've received.

Diamond | Level 26 RW9
Diamond | Level 26

Right, this is something I have been trying recently.  You need something available to read it, be that the Office suite, ACE ODBC driver, PCFiles Server etc.  If the file is old, MDB then its even more of a pain, bit incompatabilities etc.  We had to get an old version of Access and upgrade the version of those files.  Simply put, if you use M$ products you are tied into their software.  A final option, you could look at OpenOffice, LibreOffice, they tend to have parsers that can read files from Office.  Don't know how good they are for Access.  


There is however one other option that I found, its called youaccess, a command line tool which can dump the data out from MDB files to CSV:

It doesn't get the metadata (i.e. the structure of the data) as that is held very awkwardly in MDB, however you can get the data out.


Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.


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
  • 2 replies
  • 3 in conversation