BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.

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 🙂

1 ACCEPTED SOLUTION

Accepted Solutions
ed_sas_member
Meteorite | Level 14

Hi @olgazabelinasas 

 

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,

View solution in original post

9 REPLIES 9
olgazabelinasas
SAS Employee

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 🙂

ed_sas_member
Meteorite | Level 14

Hi @olgazabelinasas 

 

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,

olgazabelinasas
SAS Employee
thank you ))) i will try
Jagadishkatam
Amethyst | Level 16

There is no way we can avoid creating the log, its a default

Thanks,
Jag
olgazabelinasas
SAS Employee
thank you 🙂
yabwon
Amethyst | Level 16

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

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



olgazabelinasas
SAS Employee
thank you!!!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 9 replies
  • 2175 views
  • 4 likes
  • 5 in conversation