Help using Base SAS procedures

Libname statement for MS Access

Reply
Frequent Contributor
Posts: 89

Libname statement for MS Access

Hi,

I'm using SAS 9.4 and following below link to create a library reference with MS ACCESS:

SAS/ACCESS(R) 9.4 Interface to PC Files: Reference, Third Edition

But I'm getting below error message when I'm trying suggested code:

LIBNAME libref ACCESS PATH='<<Folder Path>>\MyDatabase.accdb';

ERROR: Connect: Class not registered

ERROR: Error in the LIBNAME statement.


Can any one please help me on this or any other way to append data to a Access table?


Thanks

Respected Advisor
Posts: 4,644

Re: Libname statement for MS Access

Explanation of this error message is given here: http://support.sas.com/kb/37/412.html

if you are using 64 bits SAS, then look also at:

http://blogs.sas.com/content/sasdummy/2012/05/01/64-bit-gotchas/

PG

PG
SAS Super FREQ
Posts: 8,743

Re: Libname statement for MS Access

Hi:

  Also, if you are using SAS Studio with SAS University Edition or with SAS OnDemand for Academics, you may not be able to read Microsoft Access data using SAS on those images. So that is another possibility. If this is the case, however, you can save your MS-Access file as a CSV file and there should be a snippet for importing CSV files using SAS Studio.

cynthia

Ask a Question
Discussion stats
  • 2 replies
  • 338 views
  • 0 likes
  • 3 in conversation