Date: Wed, 3 Aug 2011 11:02:02 -0500
Reply-To: "Data _null_;" <iebupdte@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Data _null_;" <iebupdte@GMAIL.COM>
Subject: Re: OUTPUT to LOG window.
In-Reply-To: <A59FB9F2635346C2B4F8398C495F5851@D1871RB1>
Content-Type: text/plain; charset=ISO-8859-1
I am looking for something like you can or could do "back in the day"
where the log and listing are written to the same file, but with the
DMS OUTPUT and LOG windows.
On Wed, Aug 3, 2011 at 10:49 AM, Nat Wooding <nathani@verizon.net> wrote:
> John
>
> If you don't mind a kludge, how about routing the contents output to a file
> via Proc Printto and then read it back with a _Null_ step and write it to
> the log?
>
> Nat Wooding
>
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Data
> _null_;
> Sent: Wednesday, August 03, 2011 11:41 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: OUTPUT to LOG window.
>
> I want the output from CONTENTS statement to go to LOG window. Is
> that possible?
>
> proc datasets library=sashelp memtype=data nofs;
> run;
> contents data=class;
> run;
> quit;
>
|