What am i missing in the following statement if I am trying to export a SAS table in excel format and then replace it the next time the program is run. It keeps stopping the replace process.
PROC EXPORT DATA=OPR9100.discharged
OUTFILE="C:\Data\OPR9100\Discharged Stage Pended LOS.xls";
REPLACE;
run;
PROC EXPORT DATA=OPR9100.discharged
OUTFILE="C:\Data\OPR9100\Discharged Stage Pended LOS.xls";
REPLACE;
run;