Date: Fri, 19 Sep 2008 11:16:22 -0400
Reply-To: Jim Groeneveld <jim.1stat@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <jim.1stat@YAHOO.COM>
Subject: Re: Printing exact number of variables
Would you possibly be helped with PROC FREQ?
Regards - Jim.
On Fri, 19 Sep 2008 09:53:52 -0500, Masoud Pajoh <mpajoh@ODOT.ORG> wrote:
>I have data set a that can have up to 10 vars called bidder1, bidder2 . .
>When any of these variables have value for one observation they have
>values for all observations.
>This data set is produced on the fly, i.e I do not know how many bidders
>exist ahead of time.
>proc print data=a;
> var bidder:;
>Prints 10 even if some of them are completely blank.
>Now, is there a way to determine and print only those that have