LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (November 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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"

Hello All,

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?

data _null_;

file _webout;

put "Content-type: text/plain";

put "Content-disposition: attachment;"

"filename=listing.doc";

put;

ods listing;

ods listing file=_webout;

PROC REPORT DATA=SAVE.COWS1; COLUMN &save_varlist ;

.............


Back to: Top of message | Previous page | Main SAS-L page