Date: Thu, 8 Jul 2004 16:42:28 -0700
Reply-To: Bart Heinsius <eombah@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Bart Heinsius <eombah@HOTMAIL.COM>
Organization: http://groups.google.com
Subject: ods output with data _null_
Content-Type: text/plain; charset=ISO-8859-1
Hi,
When I run the following code:
ods listing close;
ods html close;
ods trace on;
data _null_;
file print;
put 'Hello World!';
run;
I see in the log:
Output Added:
-------------
Name: FilePrint1
Label: FilePrint1
Data Name: BatchOutput
Path: Datastep.FilePrint1
Now I want to get this output into a data set using ods output.
So I can do: ods output FilePrint1=work.mydata;
But the next time I run this code, the name of the output added is
FilePrint2, and then FilePrint3 and so on.
Is there a way to get the output into the data set, regardless of the
output object's name?
Cheers,
Bart.
|