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 Alumni

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 Alumni
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 Alumni
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 Alumni
thank you!!!

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 4587 views
  • 4 likes
  • 5 in conversation