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 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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 ?
Comments: To: "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
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


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