The Output, Log, and Program Editor windows in SAS® can display approximately 99,999 lines each. If messages display to indicate that the SAS Output window is full, you can stop the messages from displaying by pressing the keys CTRL+BREAK+SCRLK to open the Tasking Manager window. If you then have the option to Cancel Submitted Statements, then select it.
There are several options that enable you to prevent the Output window from filling up.
Redirect the contents of the Output window to a file instead of the Output window. To accomplish this, add the following code to the top of your SAS program file:
Note: Use a drive letter, subdirectory, and filename that you have rights to change and update. The subdirectory must already exist on your machine.
Then, at the end of your SAS program file, add the following code to redirect the output back to the Output window:
After your SAS program is submitted, you can then view your filename.lst text file in SAS, Notepad, the SAS System Viewer, or any other text editor.
Starting in SAS 9.2, the system option DMSOUTSIZE enables you to designate the maximum number of rows that the SAS Output window can display. The default for SAS 9.2 is set to 99,999 rows. The range for SAS 9.2 is 500 to 999,999 rows. For SAS 9.4 defaults, see SAS 9.4 dmsoutsize system option.
To check the current dmsoutsize option, in a SAS session submit the code below and then check the SAS Log window for the value:
proc options option=dmsoutsize; run;
One way to change the default number of rows is to add the dmsoutsize option at the top of your sasv9.cfg file:
1. Make a backup copy of your SASv9.cfg file and provide a different file name. Save it to the default location, a desktop folder, or another folder that you have permissions to.
The default locations are as follows:
SAS 9.4 32-bit on x64 - C:\Program Files\SASHome\x86\SASFoundation\9.4\nls\en
SAS 9.4 - C:\Program Files\SASHome\SASFoundation\9.4\nls\en
SAS 9.3 32-bit on x64 - C:\Program Files\SASHome\x86\SASFoundation\9.3\nls\en
SAS 9.3 - C:\Program Files\SASHome\SASFoundation\9.3\nls\en
SAS 9.2 32-bit on x64 - C:\Program Files\SAS\SASFoundation\9.2(32bit)\nls\en
SAS 9.2 - C:\Program Files\SAS\SASFoundation\9.2\nls\en
SAS 9.1.x - C:\Program Files\SAS\SAS 9.1\nls\en
2. Then, do the following:
-dmsoutsize 750999
Note that if you attempt to use this option in SAS 9.1, the scroll size is not extended. Therefore, you could receive an error when you scroll in the Output window. However, it does enable the program to complete without the "Output window full" message.
Note: A similar option, DMSLOGSIZE, is available for the SAS log window. See SAS Note 5888, "The message 'SAS log window is full' appears in Microsoft Windows operating environments," for details. 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 XP 64-bit Edition | 9.2 | |||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 | |||||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 | |||||
Microsoft Windows Server 2003 Standard Edition | 9 TS M0 | 9.2 TS1M0 | ||||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | 9.2 TS1M0 | ||||
Microsoft® Windows® for x64 | 9.2 | |||||
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 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 Enterprise 32-bit | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows 8 Enterprise x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows 8 Pro 32-bit | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows 8 Pro x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows 8.1 Enterprise 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 8.1 Pro x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2012 R2 Datacenter | 9.2 | |||||
Microsoft Windows Server 2012 R2 Std | 9.2 | |||||
Microsoft Windows 10 | 9.4_M3 | 9.4 TS1M3 | ||||
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 Datacenter | 9.4 | 9.4 TS1M0 | ||||
Microsoft Windows Server 2012 Std | 9.4 | 9.4 TS1M0 | ||||
Microsoft Windows Server 2016 | 9.4_M5 | 9.4 TS1M5 | ||||
Microsoft Windows Server 2019 | 9.4_M6 | 9.4 TS1M6 |
Type: | Usage Note |
Priority: | |
Topic: | Software Components ==> Display Manager |
Date Modified: | 2021-03-02 16:54:17 |
Date Created: | 2004-05-18 10:32:08 |