I have a ACCESS database which includes tons of tables and I try to import to SAS to manage those tables.
I wirte Proc import but an Error message keep pop out "ERROR: Failed to connect to the Server: ."
NOTE: The SAS System stopped processing this step because of errors.
Here is the SAS code I write,
PROC IMPORT OUT=WORK.TEST
TABLE="ALL Hb ID"
DBMS=ACCESSCS REPLACE;
DATABASE="U:\Databases\SCD_DATA.ACCDB";
RUN;
Does any one know how to solve this problem? I don't want to export each table to EXCEL and then import to SAS.
I am so afraid that I will lost data when I export to EXCEL and import to SAS.
Thank you
Using DBMS = ACCESSCS implies you are making use of the SAS PC Files Server. The error message suggests you are unable to connect to this server. This type of error could arise if you don't have the SAS PC Files Server installed and running either on your own PC or on another Windows server, or if it is running remotely and you haven't supplied the correct connection details.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.