Hi everyone, I am a newer SAS user and am working on a project that requires me to create macro that creates a histogram with a variety of macros inside. I have created the following code, but although I get no errors or warnings in my log, I get no results. Can anyone help? Thanks so much. my code: %MACRO mymacro ( DSNm = , Vbl = , Stats = N MEAN STDDEV , Ndec = 1); TITLE1 "title1"; proc sgplot data = work.&DSNm; histogram &Vbl/N MEAN STDDEV; run; %MEND title2; %( DSNm = , Vbl = , Stats = N MEAN STDDEV , Ndec = 1);
... View more