I am trying to create a macro with help option also like below:
%macro now(gg,datas);
%if &gg=help %then %do
%put;
%put %str(hello);
%goto exit;
%end;
proc print data=&datas; run;
%mend;
So when I call the macro with help
%now(help)
the following should be printed
hello
in the log, but instead it doesnt do anything. What is wrong in this code?