BookmarkSubscribeRSS Feed
PaigeMiller
Diamond | Level 26

When I run code in base SAS (version 9.4), I am getting this mysterious SAS Message Log window now that my computer has been switched to Windows 11. I never saw it before under Windows 10, Windows 7 or earlier operating systems. I don't want this window to appear. How can I stop it?

 

PaigeMiller_0-1745860204395.png

 

I note that if my code includes PROC PRINTTO LOG= to send the log to a text file, that is when I get this mysterious window. If I run the same code without PROC PRINTTO, the window does not appear.

 

So how do I get rid of it?

--
Paige Miller
5 REPLIES 5
SASJedi
Ammonite | Level 13

@PaigeMiller  - That IS a bummer. I'm using SAS 9.4 (TS1M8) on Windows 11 Enterprise. I tried to reproduce this behavior using this code, but was not successfull:

proc printto log="sas_log_test.txt";
run;
proc print data=sashelp.cars(obs=5);
run;
proc printto;
run;

I tried using a .log extension for the output file, too, just in case that made a difference.
What maintenance level is your SAS9? Might you have any unusual custom SAS configurations that affect SAS logging?

 

Check out my Jedi SAS Tricks for SAS Users
PaigeMiller
Diamond | Level 26

Thanks, @SASJedi . As I continued to modify my code to get it to work properly (ignoring the message box), I must have changed something, because the problem seems to have disappeared 👻. I'd still like to know what caused it; it is especially weird since the message in the box was from repeated PROC FORMAT but I don't have a PROC FORMAT in the code. But I'm glad it went away.

--
Paige Miller
SASJedi
Ammonite | Level 13

@PaigeMiller  - Grrr... I hate "mysteriously self-healing" computer problems! It always feels like they're just hanging out there waiting to bite you without warning. But I'm glad to hear you're back on track 🙂  

 

Check out my Jedi SAS Tricks for SAS Users
quickbluefish
Barite | Level 11

@SASJedi - unrelated to anything, but just wanted to say that I attended that SAS talk you gave a week or so ago and it was the most informative hour-long SAS talk I've ever heard - thank you!

SASJedi
Ammonite | Level 13
Man, you just made my day! Thanks 😊
Check out my Jedi SAS Tricks for SAS Users

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 5 replies
  • 965 views
  • 1 like
  • 3 in conversation