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:
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.