|Date: ||Fri, 15 Nov 2002 16:51:48 -0500|
|Reply-To: ||Crystal Vierhout <vierhout@UNITY.NCSU.EDU>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Crystal Vierhout <vierhout@UNITY.NCSU.EDU>|
|Subject: ||Exporting the listing for a web application|
|Content-Type: ||text/plain; charset="iso-8859-1"|
Well, wouldn't you know it. If you build a web application the end user will want something else. I have a application that gives the end user an option to export to pdf, xls, and rtf but they want the sas listing exported. Does anyone have an idea how to do this?
put "Content-type: text/plain";
put "Content-disposition: attachment;"
ods listing file=_webout;
PROC REPORT DATA=SAVE.COWS1; COLUMN &save_varlist ;