Date: Tue, 7 May 2002 13:31:46 -0400
Reply-To: Randy Herbison <RandyHerbison@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Randy Herbison <RandyHerbison@WESTAT.COM>
Subject: Re: Geting SAS to send output to stdout
Content-Type: text/plain; charset="iso-8859-1"
Jim,
In addition to using FILE STDOUT, I think you need to direct the output from
SAS back to the webserver. I wrote an application in 1996 that does this
(see: http://stat0.isr.umich.edu/psid/data-center/dcmain.html), but I don't
remember the details. You might want to check with Mohammed Mushtaq
(mushtaq@isr.umich.edu) who currently maintains the application.
RandyHerbison@Westat.com
-----Original Message-----
From: Jim Hoffman [mailto:Jim.Hoffman@WILLIAMS.COM]
Sent: Tuesday, May 07, 2002 1:00 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Geting SAS to send output to stdout
I am calling a SAS program from a Perl script. system ("/usr/local/sas -
stdio < theProg.sas -set aparm thevalue"); The Perl script is generating a
web page for output and wants the SAS program to add to the information on
the page. The SAS program executes ok but the output doesn't come to the
web page. Are there any examples of this available? I have tried
variations of "file stdout" and "file '/dev/stdout'" but haven't hit the
correct solution. Thanks.
|