BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
asimraja
Fluorite | Level 6

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Some options for EG are controlled through the preferences menu. 

View solution in original post

3 REPLIES 3
Reeza
Super User

Some options for EG are controlled through the preferences menu. 

TomKari
Onyx | Level 15

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

BrunoMueller
SAS Super FREQ

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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1589 views
  • 0 likes
  • 4 in conversation