hi Cynthia,
i submit my STP from SAS portal (Windows IE) and this is the code:
*ProcessBody;
ods excel file=_webout style=plateau;
data _null_;
rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
rc = stpsrv_header("Content-disposition","attachment; filename=report.XLS");
run;
proc print data =report (drop = dtreport) noobs label ;run;
ods excel close;
I do not have any problem with this sas-code...so...i want to insert the waiting message between when i submit the STP and when i save the output in xls format.
regards
Niko
hi,
i have a problem with ouptut xlsx with a stored process server.
any suggestion?
thanks in advance
ods excel options(sheet_name="&_report_name.") file=_webout style=plateau;
data _null_;
rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
rc = stpsrv_header("Content-disposition","attachment; filename=&_report_name._&_dt_report_ymd..XLSX");
run;
proc print data =&_report_name. noobs label ;run;
ods excel close;
ERROR: The SAS System stopped processing this step because of insufficient memory.
NOTE: There were 283923 observations read from the data set WORK.CENTRISC.
NOTE: The PROCEDURE PRINT printed pages 1-977.
NOTE: PROCEDURE PRINT used (Total process time):
real time 1:54.75
cpu time 1:48.84
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.