Date: Tue, 19 Dec 2006 12:24:39 -0500
Reply-To: Ya Huang <ya.huang@AMYLIN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ya Huang <ya.huang@AMYLIN.COM>
Subject: Re: current proc printto destination
The last fileref in sashelp.vextfl seems the one you want. Don't know
if this is robust enough though.
proc printto print="c:\temp\xx.txt";
proc print data=sashelp.class;
proc sql noprint;
select xpath into : printtopath
59 %put &printtopath;
On Tue, 19 Dec 2006 08:02:23 -0800, firstname.lastname@example.org <ckxplus@YAHOO.COM>
>Is there a way to determine whether proc printto is currently in effect
>and to store the current proc printto destination in a macro variable?
>I'd like to reroute some output from within a macro to a temporary
>destination, then reroute it back to the original proc printto
>destination. Can this be done?