Hello everyone!
I use SAS Studio.
I start the process through the "Background Submittion" button.
And then a very large log is created, which I absolutely do not need 🙂
Tell me, is there a command that prohibits creating a log at all?
So I inserted this command at the beginning of the process and started it again 🙂
There are some interesting options such as NOSOURCE or NONOTES to suppress information from the log-> please find here a more extensive description: https://documentation.sas.com/?docsetId=basess&docsetTarget=p0rgzxi5r1euj0n14epck6v9l2hm.htm&docsetV...
However, keep in mind that the log is a great effective problem-solving tool.
So I would suggest to use this kind option only in "production", once the program you've developed has already been debugged.
Best,
Hello everyone!
I use SAS Studio.
I start the process through the "Background Submittion" button.
And then a very large log is created, which I absolutely do not need 🙂
Tell me, is there a command that prohibits creating a log at all?
So I inserted this command at the beginning of the process and started it again 🙂
There are some interesting options such as NOSOURCE or NONOTES to suppress information from the log-> please find here a more extensive description: https://documentation.sas.com/?docsetId=basess&docsetTarget=p0rgzxi5r1euj0n14epck6v9l2hm.htm&docsetV...
However, keep in mind that the log is a great effective problem-solving tool.
So I would suggest to use this kind option only in "production", once the program you've developed has already been debugged.
Best,
There is no way we can avoid creating the log, its a default
Use
options nosource nonotes;
to reduce the log to only WARNINGs and ERRORs. But keep in mind that this complicates debugging.
Hi,
maybe this will help:
/* "turn-off" the log */
filename f DUMMY;
proc printto log=f;
run;
/* put wahatever you want here */
data test;
x = 17;
putlog x=;
run;
data 123;
run;
/* put wahatever you want here */
/* restore log */
proc printto;
run;
You will get: no info, no notes, no source, no warnings, and no errors at all.
All the best
Bart
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.