Date: Tue, 13 Feb 2001 19:08:16 -0500
Reply-To: Ashiru Babatunde <Babatunde.Ashiru@INFINEON.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ashiru Babatunde <Babatunde.Ashiru@INFINEON.COM>
Subject: macro operators
Content-Type: text/plain; charset="iso-8859-1"
While I can not positively affirm if the macro facility support "in"
operator, following tested alternative simulates/mimics the "in" operator:
%let listvalues=%str( this should perform similarly as the in operator );
/* precede and end list of possible values with space */
%let testvalue=perform;
the following will resolve to true:
%if %index((&listvalue), %bquote( &testvalue )) %then %do;
blah;
blah;
blah;
%end;
HTH
Best Regards,
_________________________________
Babatunde R Ashiru
Infineon Technologies Richmond
Analysis Tools/Product Sustaining
Voice: (804)952-7944
Fax: (804)952-7902
eMail: Babatunde.Ashiru@Infineon.com
pager: 1589371@skytel.com or
1.800.759.8888 pin#: 1589371
_________________________________