/ Published in: SAS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* Import from Excel */ PROC IMPORT OUT= test DATAFILE= "D:\May08\Final.xls" DBMS=EXCEL REPLACE; SHEET="Final Data$"; GETNAMES=YES; MIXED=Yes; SCANTEXT=YES; USEDATE=YES; SCANTIME=YES; RUN; /* Export to Excel */ PROC EXPORT DATA= P.FINAL_CALC OUTFILE= "D:\Feb09\sas\Final.xls" DBMS=EXCEL REPLACE; RUN;