| Date: | Tue, 13 Aug 2002 13:30:02 -0700 |
| Reply-To: | Melanie <MelliJ@AOL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Melanie <MelliJ@AOL.COM> |
| Organization: | http://groups.google.com/ |
| Subject: | IF - THEN processing in MACRO |
| Content-Type: | text/plain; charset=ISO-8859-1 |
Hello all,
I recently took the SAS Macro course and am now trying to apply what I
have learned. Here is the snag I have come across:
I am doing conditional IF-THEN processing. I know that I have to use
the following syntax:
%IF <condtion> %THEN %DO;
However, if I have multiple conditions like this:
%IF ht < 121 or ht > 230 %THEN %DO;,
I am not getting the correct answer when ht = 156. I have the
symbolgen option turned on, and it is telling me that my condition is
true. I tried %OR, but that is not a valid statement. Is it
impossible to do, maybe?
Thanks,
Melanie Barish
Clinical Programmer Analyst
Progenics Pharmaceuticals, Inc.
mbarish@progenics.com
|