Help using Base SAS procedures

How to specify the SAS options to run macro without show the content of the macro in the SAS log?

Reply
Regular Contributor
Posts: 222

How to specify the SAS options to run macro without show the content of the macro in the SAS log?


Hello everyone,

How to specify options to run a macro without show the content of the macro in the SAS log?

Thanks

New Contributor
Posts: 3

Re: How to specify the SAS options to run macro without show the content of the macro in the SAS log?

Dont give any System options for Macro like SYMBOLGEN, MACROGEN, MPRINT, MLOGIC.

PROC Star
Posts: 1,269

Re: How to specify the SAS options to run macro without show the content of the macro in the SAS log?

If the user has mprint etc turned on, you can turn them off at the begining of your macro, then restore them at then end.

Super User
Posts: 9,769

Re: How to specify the SAS options to run macro without show the content of the macro in the SAS log?

Like:

OPTIONS NOSYMBOLGEN NOMPRINT  NOMLOGIC ;

Ask a Question
Discussion stats
  • 3 replies
  • 181 views
  • 0 likes
  • 4 in conversation