BookmarkSubscribeRSS Feed
KathyD1
Calcite | Level 5

I am trying to import an access data table into SAS 9.4. My compute has been upgraded to 64 bit.   I am running 64 bit SAS and Microsoft Office 2016.  I have converted my access database from .mdb to .accdb.

 

Here's my import program:

 

proc import DBMS=ACCESScs Datatable = 'tblCaseDesignation'
out = work.CASEDESIGNATion REPLACE;
Database = "T:\EPI_data\CO Surveillance\CO_Database\CO_casesurveillance_ver5.accdb";
run;

 

Here's my error message:


2 *Import in 64 bit version;
3 proc import DBMS=ACCESSCS Datatable = 'tblCaseDesignation'
4 out = work.CASEDESIGNATion REPLACE;
5 Database = "T:\EPI_data\CO Surveillance\CO_Database\CO_casesurveillance_ver5.accdb";
6 run;

ERROR: Failed to connect to the Server: .
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.70 seconds
cpu time 0.25 seconds

 

Thank you very much for any help you can offer!

 

2 REPLIES 2
Reeza
Super User

Have you ensured PC FILES SERVER is running? What about DBMS=ACCESS or PCFILES instead?

 


@KathyD1 wrote:

I am trying to import an access data table into SAS 9.4. My compute has been upgraded to 64 bit.   I am running 64 bit SAS and Microsoft Office 2016.  I have converted my access database from .mdb to .accdb.

 

Here's my import program:

 

proc import DBMS=ACCESScs Datatable = 'tblCaseDesignation'
out = work.CASEDESIGNATion REPLACE;
Database = "T:\EPI_data\CO Surveillance\CO_Database\CO_casesurveillance_ver5.accdb";
run;

 

Here's my error message:


2 *Import in 64 bit version;
3 proc import DBMS=ACCESSCS Datatable = 'tblCaseDesignation'
4 out = work.CASEDESIGNATion REPLACE;
5 Database = "T:\EPI_data\CO Surveillance\CO_Database\CO_casesurveillance_ver5.accdb";
6 run;

ERROR: Failed to connect to the Server: .
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.70 seconds
cpu time 0.25 seconds

 

Thank you very much for any help you can offer!

 


 

KathyD1
Calcite | Level 5

Hi Reeza,

 

I get this message when I use DBMS=PCFILES

 


996
997 *Import in 64 bit version;
998 proc import DBMS=PCFILES Datatable = 'tblCaseDesignation'
999 out = work.CASEDESIGNATion REPLACE;
ERROR: DBMS type PCFILES not valid for import.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.33 seconds
cpu time 0.00 seconds

 

And this when I use DBMS=ACCESS

 


ERROR: Connect: Class not registered
ERROR: Error in the LIBNAME statement.
ERROR: Connection Failed. See log for details.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.65 seconds
cpu time 0.29 seconds

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 2923 views
  • 0 likes
  • 2 in conversation