The SAS® Output, Log, and Program Editor windows can display approximately 99,999 lines each. If you receive messages indicating that the SAS Log window is full, in some cases you can stop the messages from occurring by first selecting one of the four choices on the Log WINDOWS FULL message and then immediately try these steps:
If the SAS Tasking Manager window does not open, then continue to select one of the four choices in the Log WINDOWS FULL message box.
There are several options available to prevent the Log window from filling up.
Suppress the listing of the entire log, or part of the log, for later SAS program submissions. Do not suppress all the log messages until you have successfully executed the program without an error.
Add the following OPTIONS statement to the top of your SAS program to suppress printing to the log:
If you want to change the options back to the default and start printing to the log again, submit the following OPTIONS statement:
The SAS system options are as follows:
Errors - specifies the maximum number of observations for which data
error messages are printed.
Notes - controls whether messages beginning with NOTE are written to
the SAS log. Because notes are required for debugging, use
this option until your program is error free.
Source - controls whether SAS program source statements are written
to the SAS log.
Source2 - controls whether secondary source statements and notes about
secondary source statements from files included by %INCLUDE
statements are written to the SAS log.
|
NOTE: The SAS warning messages cannot be suppressed, as documented in Usage Note 24487: Warning messages in the SAS log cannot be suppressed.
Redirect the contents of the Log window to a file instead of the Log window. To accomplish this, add the following code to the top of your program:
Note: Use the drive letter, subdirectory, and filename for a folder that you have full Windows rights to. The subdirectory must already exist on your machine.
For example:
Then, at the end of your program, add the following code to redirect the output back to the Log window:
You can then view your file.log text file in SAS, Notepad, the SAS System Viewer, or any other text editor.
Additional PROC PRINTTO documentation.
In SAS® 9.2, SAS® 9.3, or SAS® 9.4, DMSLOGSIZE= is a SAS system option that enables you to designate the maximum number of rows that the Log window can display. The default is 99,999 rows. The range is 500 to 999,999 rows. To change the option, add the following code to the top of your sasv9.cfg file, starting in column 1:
The number 150000 shown above is just an example. You can change this value to the number of rows that are required for your installation. Save the sasv9.cfg file and restart SAS. See the SAS 9.4 DMSLOGSIZE= documentation.
In SAS® 9.1, if you attempt to use this option, the scroll size is not extended. Therefore, you might receive an error when you scroll in the Output window. However, it does allow the program to complete without the log-window-full message.
Note: A similar option, DMSOUTSIZE, is available for the SAS Output window. For details, see SAS Note 12452, "The message "Output window full" appears in Microsoft Windows operating environments." A similar option is not available for the Program Editor window. Use the Enhanced Editor window instead.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 | |||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 | |||||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 | |||||
Microsoft Windows Server 2003 Standard Edition | 9 TS M0 | 9.2 TS1M0 | ||||
Microsoft Windows XP 64-bit Edition | 9.2 | |||||
Microsoft® Windows® for x64 | 9.2 | |||||
Microsoft Windows 8.1 Pro x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2003 Datacenter Edition | 9 TS M0 | 9.2 TS1M0 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 9 TS M0 | 9.2 TS1M0 | ||||
Microsoft Windows 8.1 Pro 32-bit | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows 8.1 Enterprise x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows 8.1 Enterprise 32-bit | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows 8 Pro x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows 8 Pro 32-bit | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows 95/98 | 9.2 | |||||
Microsoft Windows 2000 Advanced Server | 9.2 | |||||
Microsoft Windows 2000 Datacenter Server | 9.2 | |||||
Microsoft Windows 2000 Server | 9.2 | |||||
Microsoft Windows 2000 Professional | 9.2 | |||||
Microsoft Windows NT Workstation | 9.2 | |||||
Microsoft Windows Server 2003 for x64 | 9.2 | |||||
Microsoft Windows Server 2008 | 9.2 | |||||
Microsoft Windows Server 2008 R2 | 9.2 | |||||
Microsoft Windows Server 2008 for x64 | 9.2 | |||||
Microsoft Windows Server 2012 Datacenter | 9.2 | |||||
Microsoft Windows 8 Enterprise x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows 8 Enterprise 32-bit | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2012 Std | 9.2 | |||||
Microsoft Windows XP Professional | 9.2 | |||||
Windows 7 Enterprise 32 bit | 9.2 | |||||
Windows 7 Enterprise x64 | 9.2 | |||||
Windows 7 Home Premium 32 bit | 9.2 | |||||
Windows 7 Home Premium x64 | 9.2 | |||||
Windows 7 Professional 32 bit | 9.2 | |||||
Windows 7 Professional x64 | 9.2 | |||||
Windows 7 Ultimate 32 bit | 9.2 | |||||
Windows 7 Ultimate x64 | 9.2 | |||||
Windows Millennium Edition (Me) | 9.2 | |||||
Windows Vista | 9.2 | |||||
Windows Vista for x64 | 9.2 | |||||
Microsoft Windows Server 2012 R2 Datacenter | 9.4_M1 | 9.4 TS1M1 | ||||
Microsoft Windows 10 | 9.4_M3 | 9.4 TS1M3 | ||||
Microsoft Windows Server 2012 R2 Std | 9.4_M1 | 9.4 TS1M1 |
Type: | Usage Note |
Priority: |
Date Modified: | 2021-01-28 10:46:41 |
Date Created: | 2001-09-18 12:21:07 |