Date: Mon, 2 Feb 2004 16:24:00 -0500
Reply-To: Mike Rhoads <RHOADSM1@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mike Rhoads <RHOADSM1@WESTAT.COM>
Subject: Re: Printing to the Log window ?
Content-Type: text/plain
Well, it looks like in your example, the output goes to "log.lst" in your
default directory. I guess LOG must be recognized as a keyword for the LOG=
option but not the PRINT= option (and presumably vice versa), or something
like that.
Given that disappointment, off the top of my head I can't come up with
anything better than using PRINTTO to route your output to a file somewhere
(or catalog entry), and then using a DATA _NULL_ to read it back in a line
at a time and PUT each line back out to the log. You could probably set
your options in such a way to make this pretty transparent, although
obviously it's still a kludge.
Mike Rhoads
Westat
RhoadsM1@Westat.com
-----Original Message-----
From: Richard A. DeVenezia [mailto:radevenz@IX.NETCOM.COM]
Sent: Monday, February 02, 2004 2:40 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Printing to the Log window ?
Is there a way to print to the log window ?
I tried
ods listing;
proc printto print=log; run;
proc print data=sashelp.class;
run;
proc printto print=print; run;
It runs, but I don't know where the proc print output went.
--
Richard A. DeVenezia