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 (October 2002, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 29 Oct 2002 11:18:19 GMT
Reply-To:     "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Organization: EarthLink Inc. -- http://www.EarthLink.net
Subject:      Re: Proc printto log=STDOUT (in windows 2000)
Content-Type: text/plain;

"Per Haglund" <per.haglund@visualwireless.com> wrote in message news:291d2c75.0210280448.7255d0e3@posting.google.com... > Is it possible to print the log from a SAS batch job in windows 2000 to STDOUT > using proc printto or some other way? > > In Unix I use it like this, and it works fine! > proc printto log=STDOUT; > run; > > But in windows it don't work. > > Someone help me! > > /Per

In Windows, a distasteful work around might be something like this:

start /wait ...\sas.exe -noterminal -nosplash -sysin {program-filename} -log {log-filename} & type {log-filename}

-or-

set MYSTDOUT={some-filename} start /wait ...\sas.exe -noterminal -nosplash -sysin {program-filename} & type {some-filename} set MYSTDOUT=

your program would need to printto log="%sysget(MYSTDOUT)"

-- Richard A. DeVenezia http://www.devenezia.com/downloads/sas/macros


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