Ggood morning,
I'm a new sas user.
I have a problem to generate a report. In my script I use a proc freq, but before I must perform a macro that someone gave me. The problem is that this macro generate a report that I don't want in my final results.
Example:
ods pdf file = "path/file.pdf";
%macro_give_me;
proc freq data =data_set_created_from_macro;
run;
ods pdf close;
I tried solve adding ods results options in this way:
ods pdf file = "path/file.pdf";
ods noresults;
%macro_give_me;
ods results on;
proc freq data =data_set_created_from_macro;
run;
ods pdf close;
The program continues to print the result of Macro as well.
I could always go into the macro to enter noprint, but I'd like to avoid that.
Thanks!