Hello, I have a quick question regarding setting up some Macros for a code I am trying to run. Is it possible to create a macro, and then do a statement along the likes of If Macro = This Then Let Macro2 = This? I did some research, and I may have the code, but I'm not entirely sure how to use it. Could any one shed some light on what I may be missing? My code is below. I want the user to select 'ALIGNED' or 'NOT ALIGNED' in the beginning of the code, and based on that selection, the code will update the year_add macro to be either 2013 or 2012,2013. %let align_status = ('ALIGNED'); /*%let align_status = ('NOT ALIGNED');*/ %if &align_status.= 'ALIGNED' %then %let year_add = (2013); %if &align_status. = 'NOT ALIGNED' %then %let year_add = (2012,2013); I think the %if/%then can't be in an open code, but I have no idea how to put these into another macro and get that macro to run. Thanks in advance for your help! Tony
... View more