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?



I am having a stored process.it needs to route my report to both hthml and Xls.By default SP route..

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

Post New Answer

More SAS Interview Questions

is there any difference between proc summary and proc means?

3 Answers  


How to read an input file in sas?

0 Answers  


what is star schema? : Sas-di

0 Answers  


What is PROC in SAS?

0 Answers  


What is the difference between %put and symbolgen? : sas-macro

0 Answers  






What is the pound sign used for the DATA _NULL_?

14 Answers  


How do you test for missing values?

0 Answers   Quintiles,


what is cummaltive frequency,and varience in proc unviarte

1 Answers   L&T,


How to save the log information in a file for future use

2 Answers   HCL,


What does proc print, and proc contents are used for?

0 Answers  


What are the rows present in protocol Violation table?

2 Answers   Accenture, Quintiles,


What is the use of function Proc summary?

0 Answers  


Categories