|
Matt,
Take a look at:
http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/a0020
51742.htm
or, in short form: http://xrl.us/bhwpw5
HTH,
Art
---------
On Fri, 20 Aug 2010 10:16:19 -0400, W. Matthew Wilson <matt@TPLUS1.COM>
wrote:
>Hi --
>
>I run most of my SAS programs from the command-line, sort of like this:
>
> > sas myprog.sas
>
>My "sas" program is really a script that runs my sas program and then
>checks the return code and tells me what it returned.
>
>Anyhow, I want to write a few lines to standard output from myprog.sas
>but I don't know how. I know how to write to a file:
>
> filename outfile "out.txt";
> data _null_;
> file outfile;
> put "blah blah blah";
> run;
>
>I'm baffled how to write to STDOUT (aka file descriptor #2).
>
>Any pointers? I'm working on windows right now.
>
>Matt
>
>--
>W. Matthew Wilson
>matt@tplus1.com
>http://tplus1.com
|