02-27-2015 09:20 AM
I have gone through couple of blogs on the same error, I have tried all the suggested options and posting my issue.
#1. While trying to export xls file using DBMS=EXCEL option in the below code :
PROC EXPORT DATA= WORK.soma
OUTFILE= "C:\User\app-502396530\Documents\My SAS Files\test1.xls"
ERROR:Connect: Class not registered
ERROR: Error in the libname statement.
If I use DBMS=EXCELCS, I get an error saying
ERROR: Failed to connect to server.
#2. While trying to export csv file using the below code, the code gets executed without errors and the log
says that file SUCCESSFULLY created, But I am unable to see the created file at the location(mentioned in the code):
PROC EXPORT DATA= WORK.segments_final
OUTFILE= "C:\User\app-502396530\Documents\My SAS Files\test1.csv"
02-27-2015 09:40 AM
To use EXCELCS you need to have the PC Files Server installed on your SAS for Windows server, or on another dedicated node. With SAS for Windows, installing the PC Files Server is easy and SAS can launch it via "autostart", no additional configuration required.
However, it's even easier if you can use DBMS=XLSX.