Date: Mon, 27 Sep 2004 08:17:17 -0500
Reply-To: "Dunn, Toby" <Toby.Dunn@TEA.STATE.TX.US>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Dunn, Toby" <Toby.Dunn@TEA.STATE.TX.US>
Subject: Re: IF value IN(¯olist)
Content-Type: text/plain; charset="us-ascii"
Micheal,
I have come up with only two good ways to accomplish what you are trying
to do:
1.) Use Peters methods, (what a great programmer he is) always full of
helpful advise.
2.) You can create your macro list like this:
select <your var> into : <your macro var> separated by '"'"'
Then use it like the following:
If <your var here> in ("¯ovar")
HTH
Toby Dunn
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Michael Mace
Sent: Monday, September 27, 2004 6:51 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: IF value IN(¯olist)
All:
Upon further searching, i just hadn't looked long enough, i found the
following
response from Peter Crawford (always a helpful L-er):
http://listserv.uga.edu/cgi-bin/wa?A2=ind0108C&L=sas-l&P=R8294
Have a great day !
(and if you haven't registered for NESUG 2004, NOV14-17, do it today!)
At your service,
michael mace
NAT e-Business
for The Goodyear Tire & Rubber Co.
330.796.3981
michael_mace@goodyear.com
NESUGRegistrar@att.net
**********************************************************