Reeza, The put function doesn't seem to reveal the SAS Version number. I attempted to run using the DMBS = EXCEL, and I received a class not registered error. %put &sysver;
PROC EXPORT DATA= dash.sum_taxonomy
outfile= "\\server\Dashboard.xlsx"
dbms=EXCEL;
sheet="RawData"; NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR 13 14 GOPTIONS ACCESSIBLE; 15 %put &sysver; 9.3 16 PROC EXPORT DATA= dash.sum_taxonomy 17 outfile= "\\server\Dashboard.xlsx" 18 dbms=EXCEL; 19 sheet="RawData"; 20 21 22 23 24 GOPTIONS NOACCESSIBLE; 25 %LET _CLIENTTASKLABEL=; 26 %LET _CLIENTPROJECTPATH=; 27 %LET _CLIENTPROJECTNAME=; 28 %LET _SASPROGRAMFILE=; 29 30 ;*';*";*/;quit; 1 The SAS System 15:49 Wednesday, August 17, 2016 ERROR: Connect: Class not registered ERROR: Error in the LIBNAME statement. Connection Failed. See log for details. NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE EXPORT used (Total process time): real time 0.05 seconds cpu time 0.01 seconds I attempted to run on EXCELCS and received the following error: %put &sysver;
PROC EXPORT DATA= dash.sum_taxonomy
outfile= "\\server\Dashboard.xlsx"
dbms=EXCELCS;
sheet="RawData"; NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR 13 14 GOPTIONS ACCESSIBLE; 15 %put &sysver; 9.3 16 PROC EXPORT DATA= dash.sum_taxonomy 17 outfile= "\\Server\Dashboard.xlsx" 18 dbms=EXCELCS; 19 sheet="RawData"; 20 21 22 GOPTIONS NOACCESSIBLE; 23 %LET _CLIENTTASKLABEL=; 24 %LET _CLIENTPROJECTPATH=; 25 %LET _CLIENTPROJECTNAME=; 26 %LET _SASPROGRAMFILE=; 27 28 ;*';*";*/;quit; 1 The SAS System 15:51 Wednesday, August 17, 2016 ERROR: CLI error trying to establish connection: [Microsoft][ODBC Excel Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0x6730 Thread 0x5914 DBC 0xcb89b4 Excel'. ERROR: Error in the LIBNAME statement. Connection Failed. See log for details. NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE EXPORT used (Total process time): real time 0.27 seconds cpu time 0.00 seconds 28 ! run; 29 ODS _ALL_ CLOSE; 30 31 32 QUIT; RUN; 33
... View more