LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (September 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: Masoud Pajoh <mpajoh@ODOT.ORG>

Hi Masoud,

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 . . >etc. >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. > >This code: >proc print data=a; > var bidder:; >run; > >Prints 10 even if some of them are completely blank. > >Now, is there a way to determine and print only those that have >non-missing values?


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