Write and run SAS programs in your web browser

How to clear SAS logs automatically?

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 17
Accepted Solution

How to clear SAS logs automatically?

Hi,

Does anyone know this?

 

Many thanks,

D


Accepted Solutions
Solution
‎10-04-2016 04:30 PM
SAS Super FREQ
Posts: 8,819

Re: How to clear SAS logs automatically?

[ Edited ]

HI:
I do not believe the DM commands will work in SAS Studio. When you close your code tab for a program in SAS Studio, the corresponding log tab goes away. When you resubmit your code in SAS Studio, the previous log is replaced by the new log.

cynthia

View solution in original post


All Replies
Trusted Advisor
Posts: 1,463

Re: How to clear SAS logs automatically?

[ Edited ]

Add, at any point of your program, at start or between steps

the command:

  DM 'clear log';

 

 

Solution
‎10-04-2016 04:30 PM
SAS Super FREQ
Posts: 8,819

Re: How to clear SAS logs automatically?

[ Edited ]

HI:
I do not believe the DM commands will work in SAS Studio. When you close your code tab for a program in SAS Studio, the corresponding log tab goes away. When you resubmit your code in SAS Studio, the previous log is replaced by the new log.

cynthia

Trusted Advisor
Posts: 1,463

Re: How to clear SAS logs automatically?

[ Edited ]

I'm using SAS Studio, University Edition.

DM 'Clear Log';  was tested and works fine - it cleared all previous log lines..

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 1085 views
  • 3 likes
  • 3 in conversation