Date: Thu, 8 Feb 2007 15:54:38 -0500
Reply-To: sbarry@sbbworks.com
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Scott Barry <sbarry@SBBWORKS.COM>
Organization: SBBWorks, Inc.
Subject: Re: MACRO equivalent of "in" command
Content-Type: text/plain; charset="US-ASCII"
For your specific example, I would recommend using %SYSFUNC along with the INDEXC function, coded in
your macro.
Sincerely,
Scott Barry
SBBWorks, Inc.
SUGI paper on %SYSFUNC:
http://www2.sas.com/proceedings/sugi28/107-28.pdf
Paige Miller wrote:
Is there a macro equivalent of something like this data step command:
IF X IN ("A","G","H") THEN DO;
Thanks!
--
Paige Miller
<snip>
|