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 2000, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 16 Feb 2000 22:40:30 +0900
Reply-To:     Andrew Sohn <dkson@UNIBOSS.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Andrew Sohn <dkson@UNIBOSS.COM>
Organization: Inet Internet Services
Subject:      Re: Using IN in a macro?

Hi. Martin that i know the in operator does not work in if clause but where .. So i think you should try to get the other solution..

Andrew..

Martin Skøtt ÀÌ(°¡) ¸Þ½ÃÁö¿¡¼­ ÀÛ¼ºÇÏ¿´½À´Ï´Ù... >Hi > >I am currently writing a little macro and have encountered a >minor problem: how do I use the IN expression in a macro? > >I have got the following code: > >%if %sysfunc(month(%sysfunc(today()))) in (01,03,05,07,09,11) >%then %put 'Ulige m?ed'; > >SAS report an error because of a missing operator (the IN). Can you >help me? > >-- >Kind regards >Martin Sk?t >mskott@image.dk > >So much to see. So much to hear. So little time to do it in.


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