02-10-2017 11:13 AM
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"
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.
02-11-2017 10:53 PM
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.