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.

Trusted Advisor
Posts: 1,189

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.

Grand Advisor
Posts: 9,451

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
  • 141 views
  • 0 likes
  • 4 in conversation