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 (October 2003, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 28 Oct 2003 12:10:18 -0700
Reply-To:     Richard Read Allen <peakstat@WISPERTEL.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Richard Read Allen <peakstat@WISPERTEL.NET>
Subject:      vname, vnamex?
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hello All,

I have data similar to the following

data test; input x $ a b c; cards; a 8 3 4 a 4 6 7 b 3 3 2 b 3 9 5 c 2 2 9

What I'd like to do is to keep a record based on the variable value of the variable x. That is, if x='a' then I will keep the record if a>=5. I'm thinking then vname or vnamex functions could be used here but have been a little slow lately and have not been able to get things to fit right. Any good ideas out there?

Thanks,

Richard


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