Can any one please help me to getridof this error(snapshot attached).
I run a big program, after some time this window popup .
please suggest.
Thanks
You have different options:
1. suppress the output: Suppressing Information to the SAS Log
2. write to a file: Routing the Output and the SAS Log with PROC PRINTTO
Good luck!
You have different options:
1. suppress the output: Suppressing Information to the SAS Log
2. write to a file: Routing the Output and the SAS Log with PROC PRINTTO
Good luck!
In addition to Tom's advice, it might be worth trying to figure out why the log is so large.
When I get "log full" type problems, it usually turns out to be because something in my program is generating a very large number of notes/warnings. For instance, if I'm doing something that generates a note at every observation of a 2-million-observation file, that will choke up the log very quickly. One way to identify this is to run the program on a smaller data set so that I can look at the log and see what's taking up the space. If I can identify a step that's spamming the log, I can then fix that problem without needing to shut off logging altogether.
If you submit the program as a background or batch job then you will not get those messages. If you really have a long running job then that is how you should be submitting the code anyway. That said you should still look into WHY the job is generating such a large log file.
Hi Thomas. Thanks for your guidance,,, Its very helpful. Can you please let me how can i run a .sas file in batch mode. when i m running my programme in cmd prompt its always open SAS programe, and if i create .BAT file it also doing same.
can you please help me .
The normal way that I submit SAS programs is to include the filename on the command line when I type the command that starts SAS.
Example: sas myfile
This will look for the code in myfile.sas and write the log to myfile.log and the listing output to myfile.lst. This is how SAS has worked since it was first available on interactive systems.
Now if you are trying to use Windows then it may be harder to invoke SAS from the command line, but when SAS is installed it should create multiple associations into the Windows Registry for .sas files. So if you right click on SAS program file in a Windows Explorer window you should have a choice for Batch submit.
Thanks for your kind help
This might help - it explains the DMSLOGSIZE option available from SAS 9.2 onwards for increasing the default size:
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: