Thank you all for responding. In light of the added complexity, I'll just use the OR operator ....but it's good to know how properly use the IN() operator if needed in the future! A requirement of this particular macro is maintainability by "non SAS experts" hence it would be inappropriate to rely on options or other such dependencies. %MACRO CONVERTOR (CONVERSION_TYPE = );
%IF &CONVERSION_TYPE = MILES_TO_METERS OR &CONVERSION_TYPE = MILES_TO_FEET %THEN %DO;
%LET ORIGINAL_UNIT = MILES;
%END;
%MEND;
%CONVERTOR (CONVERSION_TYPE = MILES_TO_METERS);
... View more