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 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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(&macrolist)
Comments: To: michael_mace@GOODYEAR.COM
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 ("&macrovar")

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(&macrolist)

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 **********************************************************


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