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?

Posted in reply to Mike_Davis

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

PROC Star
Posts: 1,460

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

Posted in reply to Mike_Davis

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: 10,787

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

Posted in reply to Mike_Davis

Like:

OPTIONS NOSYMBOLGEN NOMPRINT  NOMLOGIC ;

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