Hi,
I'm a newbie on Enterprise Guide 6.1, so I'm still finding my way around it.
In my code, I'm setting the system options as follows:
options mprint symbolgen source2 mlogic serror mcompilenote=all yearcutoff=1980;
However, even though I'm using the "mprint" option, when I execute a macro program, the log doesn't show the SAS code generated by macro execution. Somehow, I'm unable to set it. Can you please guide me how to set system options in Enterprise Guide 6.1?
Some options for EG are controlled through the preferences menu.
Some options for EG are controlled through the preferences menu.
You're doing it right...
When I submit:
options mprint symbolgen source2 mlogic serror mcompilenote=all yearcutoff=1980;
%macro p;
proc print data=sashelp.class;
run;
%mend;
%p
This is the log I get.
...
29 %p
MLOGIC(P): Beginning execution.
MPRINT(P): proc print data=sashelp.class;
MPRINT(P): run;
...
Try submitting the same code, and see what you get. I'm somewhat mystified.
Tom
Maybe the macro you are calling is a Stored Compiled Macro using the SECURE option.
Or the author of the macro sets the system options back.
Bruno
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.