Hello programmers, I'm doing a macro project and I'm confused. 1. I want to pass these variables as a macro parameter (PreA1C, PostA1C, chang_HgA1C; Pregluc, Postgluc,chang_gluc). 2. Then I want to create 2 datasets where the patients in dataset1 are only people with a Pre A1c >=6.0 and the 2nd dataset has only those with glucose of >=140. %MACRO mymacro(preaic, postaic,chng_aic,pregluc, postgluc,chang_gluc);
%let inputif = if preaic ge 6.0;
%let inputif = if pregluc ge 140;
%MEND;
# Calling a Macro program.
%mymacro(indatadef1, preaic, postaic,chng_aic, out1)
%mymacro(indatadef1, pregluc, postgluc,chang_gluc, out2) 3. What does call a macro 2 times mean? Please I'd be glad to get inputs. Online resources have not been helpful.
... View more