LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 9 Jul 2004 10:43:04 +0200
Reply-To:     Andre Wielki <wielki@INED.FR>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Andre Wielki <wielki@INED.FR>
Subject:      Re: ods output with data _null_
Comments: To: Bart Heinsius <eombah@HOTMAIL.COM>
In-Reply-To:  <f611b2fd.0407081542.648c216e@posting.google.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed

Bart, If you are using ods output you normally catch a table if you want a hello world (but is it really only what you are waiting?) there is another possibility to obtain it

look at the following code ods listing close; ods html body="c:\temp\outdata.htm"; title "world hello"; data _null_; set sashelp.class; file print ods=(var=( fir(format=$20.) name age)); fir="Hello World!";

put fir name age _ods_; run; ods html close; ods listing;;

In your code,liking in producing series of graph,sas is incrementing a number for each new output object produced.

HTH Andre

At 01:42 09/07/2004, Bart Heinsius wrote: >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.


Back to: Top of message | Previous page | Main SAS-L page