I am having a stored process.it needs to route my report to
both hthml and Xls.By default SP routes to html.I used the
PRINTTO to route the html to Xls.BUt it createsthe file not
but no content was written to file(0KB)?how can i do it?
Answer / aravind9882
try this...
ods html file='C:\Documents and
Settings\Administrator\Desktop\a.xls';
proc print data=emp noobs;
run;
ods html close;
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you feel about hardcoding?
What do you feel about hardcoding?
Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables?
what is prime numbers? how we can get plc write sas code?
how to perform paired t-test using Base/SAS & SAS/Stat?
How do you add a number to a macro variable? : sas-macro
What makes sas stand out to be the best over other data analytics tools?
What is a put statement?
firstobs and obs are working only option wise,but we are using infile statement with firstobs and obs in a statement wise? so firstobs,obs working at options and statemnts or not?
In the flow of DATA step processing, what is the first action in a typical DATA Step?
How to sort in descending order?
What report output formats can you generate using SAS?