LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 21 Feb 2002 04:39:22 -0800
Reply-To:     Stig Eide <stigeide@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Stig Eide <stigeide@YAHOO.COM>
Organization: http://groups.google.com/
Subject:      Re: How to keep macro internal output away from the ods
              destination
Content-Type: text/plain; charset=ISO-8859-1

If I understood your problem right, the only thing you need is to start reading the infile at line ~4 instead of the deafault line 1? This is done with the firstobs=4 option in the infile statement. Hope this helps. Stig Eide alte@MAIL.UNI-GREIFSWALD.DE (Dietrich Alte) wrote in message news:<3C7397A9.5F783AD1@mail.uni-greifswald.de>... > Dear all, > > for writing a report with numerous similar tables I need your help: > > I have a macro that produces a table with proc tabulate. I would like > to send the whole thing to a rich text formatted file (ods rtf). that > works fine, > but, alas: the macro also writes values which are needed for further > calculations to a file using something like > > proc printto file="holdsas.del" new; > > and reads these with an infile statement back later. When I write my > ods rtf statement before the macro call, I get the proc printto > results also in the rtf file, but I want only the table. One way out > would be to redesign the macro for use with the ods facility, but as > it has > 500 lines, I am not very much inclined to go that way. > > Is there any way to prevent the proc printto results from entering my > rtf file? I have played with ods exclude, but to no avail. > > Any help much appreciated. > > ----------------------------------------------------------------- > Dietrich Alte (Statistician, Dipl.-Stat.) > University of Greifswald - Medical Faculty > Institute of Epidemiology and Social Medicine > Walther-Rathenau-Str. 48, D-17487 Greifswald, Germany > Phone +49 (0) 3834 - 86 77 13, fax +49 (0) 3834 - 86 66 84 > Email alte@mail.uni-greifswald.de > Institute http://www.medizin.uni-greifswald.de/epidem/ > Study http://www.medizin.uni-greifswald.de/epidem/ship.htm > -----------------------------------------------------------------


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