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

what are sas/access and sas/connect? : Sas programming

1033


Enlist the functions performed by sas.

1187


what is hierarchy flattening? : Sas-di

1132


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

1186


what is the use of sas management console? : Sas-di

1137


What is the difference between using drop = data set option in data statement and set statement?

1205


what are sas bi dashboard components? : Sas-bi

1225


what is broad cast agent? : Sas-bi

1117


what is sas olap server? : Sas-di

1293


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

1389


Explain input and put function?

1182


What is the good sas programming practices for processing large data sets?

1173


What is the order of application for output data set options, input data set options and SAS statements?

1612


How to sort in descending order?

1295


What are the difference between sas functions and procedures?

1198