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 (February 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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>


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