Hello everybody,
so this isn't a problem just a question that would make the life easier.
When executing a STP in the log I get to so see a list of all the macro variables that are available to the STP via autoexecs etc. Is there a way to suppress that in the log? 99% of the time it is just fluff that the users scroll through to get to the actual log notes they are interessted in.
NOTE: SAS Initialization used (Total process time):
real time 0.01 seconds
cpu time 0.00 seconds
NOTE: The autoexec file, /path/SASMain/StoredProcessServer/autoexec.sas, was executed at server initialization.
>>> SAS Macro Variables:
... <- Long list of variables
Any help would be greatly appreciated
Thank you for your time and kind regards
Criptic
I should have mentioned _NOLOG_, but I didn't think that it was a good, general purpose solution. That feature is often used to prevent displaying sensitive data in the log, but if it fits your needs, then use it.
As a result of this thread, we have added the _SUPPRESS_MVARS parameter to SAS 9.4M6.
Vince DelGobbo
SAS R&D
The list of macro variables cannot be suppressed, but we could consider adding this feature in a future release.
Would adding a _SUPPRESS_MVARS=true parameter to a stored process be sufficient? That allows you to handle stored processes on a case-by-case basis. Or do you need to suppress the list for all stored processes?
Vince DelGobbo
SAS R&D
Thanks for the reply.
A parameter to handle it on a case by case basis would be completly sufficient.
I should have mentioned _NOLOG_, but I didn't think that it was a good, general purpose solution. That feature is often used to prevent displaying sensitive data in the log, but if it fits your needs, then use it.
As a result of this thread, we have added the _SUPPRESS_MVARS parameter to SAS 9.4M6.
Vince DelGobbo
SAS R&D
That is great to hear.
Yeah I'm using it for one mv but I thought I should mention it.
Has there been a release date announced for M6?
SAS 9.4M6 should be available at the end of November 2018.
Vince DelGobbo
SAS R&D
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.