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 (January 2008, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 22 Jan 2008 18:13:34 +0000
Reply-To:     jay.wind@ATT.NET
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Jay Jacob Wind <jay.wind@ATT.NET>
Subject:      Conditionally run macro code

Responding to <deniseyu001@GMAIL.COM> ...

The macro statement

%if &dt in ('E1', 'E2', 'E3') %then %do; ...

%does not work.

The macro statement

%if &dt = 'E1' or &dt = 'E2' or &dt = 'E3' %then %do; ...

%does work.

-- -- Thank you -- Jay Jacob Wind


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