Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between informat and format?

1088


why is sas considered self-documenting? : Sas programming

1142


What is your favorite all time computer book? Why?

2505


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1746


What do the mod and int function do? : Sas programming

1215


What are the different versions of sas that you have used until now? : sas-grid-administration

1332


Intern stastical programmer written test

742


what is change analysis in sas di ? : Sas-di

1056


Did you used proc test? when?

2032


How do you use the do loop if you don’t know how many times you should execute the do loop?

1256


Have you used macros? For what purpose you have used? : sas-macro

1037


Give some examples where proc report’s defaults are same as proc print’s defaults?

1103


Describe the ways in which you can create a macro variable?

1081


Mention what is SAS data set?

1130


what is null hypothesis? why do you consider that?

2890