BookmarkSubscribeRSS Feed
coffee_liz
Calcite | Level 5

I'm using SAS Enterprise Guide 7.1. I deselected the "Show generated wrapper code in SAS log," which displays a macro instead of the code in the log. But since I need to use MPRINT/MLOGIC/SYMBOLGEN in my SAS code, the replacement for the wrapper code turns into this mess in the log, which is even worse than the original wrapper code - any way to supress this without turning off macro debugging options?

 

1 %_eg_hidenotesandsource;
MLOGIC(_EG_HIDENOTESANDSOURCE): Beginning execution.
MLOGIC(_EG_HIDENOTESANDSOURCE): %GLOBAL _EGNOTES
MLOGIC(_EG_HIDENOTESANDSOURCE): %GLOBAL _EGSOURCE
MLOGIC(_EG_HIDENOTESANDSOURCE): %LET (variable name is _EGNOTES)
MPRINT(_EG_HIDENOTESANDSOURCE): options nonotes;
MLOGIC(_EG_HIDENOTESANDSOURCE): %LET (variable name is _EGSOURCE)
MPRINT(_EG_HIDENOTESANDSOURCE): options nosource;
MLOGIC(_EG_HIDENOTESANDSOURCE): Ending execution.
MLOGIC(_EG_RESTORENOTESANDSOURCE): Beginning execution.
MLOGIC(_EG_RESTORENOTESANDSOURCE): %GLOBAL _EGNOTES
MLOGIC(_EG_RESTORENOTESANDSOURCE): %GLOBAL _EGSOURCE
SYMBOLGEN: Macro variable _EGNOTES resolves to NOTES
MPRINT(_EG_RESTORENOTESANDSOURCE): options NOTES;
SYMBOLGEN: Macro variable _EGSOURCE resolves to SOURCE
MPRINT(_EG_RESTORENOTESANDSOURCE): options SOURCE;
MLOGIC(_EG_RESTORENOTESANDSOURCE): Ending execution.
5 %_eg_hidenotesandsource;
MLOGIC(_EG_HIDENOTESANDSOURCE): Beginning execution.
MLOGIC(_EG_HIDENOTESANDSOURCE): %GLOBAL _EGNOTES
MLOGIC(_EG_HIDENOTESANDSOURCE): %GLOBAL _EGSOURCE
MLOGIC(_EG_HIDENOTESANDSOURCE): %LET (variable name is _EGNOTES)
MPRINT(_EG_HIDENOTESANDSOURCE): options nonotes;
MLOGIC(_EG_HIDENOTESANDSOURCE): %LET (variable name is _EGSOURCE)
MPRINT(_EG_HIDENOTESANDSOURCE): options nosource;
MLOGIC(_EG_HIDENOTESANDSOURCE): Ending execution.
SYMBOLGEN: Macro variable SASWORKLOCATION resolves to "D:\SAS-TEMP\_TD13064_S12ZAPSTAT07_\Prc2/"
MLOGIC(_EG_RESTORENOTESANDSOURCE): Beginning execution.
MLOGIC(_EG_RESTORENOTESANDSOURCE): %GLOBAL _EGNOTES
MLOGIC(_EG_RESTORENOTESANDSOURCE): %GLOBAL _EGSOURCE
SYMBOLGEN: Macro variable _EGNOTES resolves to NOTES
MPRINT(_EG_RESTORENOTESANDSOURCE): options NOTES;
SYMBOLGEN: Macro variable _EGSOURCE resolves to SOURCE
MPRINT(_EG_RESTORENOTESANDSOURCE): options SOURCE;
MLOGIC(_EG_RESTORENOTESANDSOURCE): Ending execution.

1 REPLY 1
SASKiwi
PROC Star

MPRINT, MLOGIC and SYMBOLGEN are normally only needed when developing and testing your code. If your code is working fine then turning off these options isn't going to cause any problems.

 

If you still want to see the code being generated then Just use MPRINT only.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 537 views
  • 0 likes
  • 2 in conversation