Usage Note 41196: SAS® might unexpectedly modify the values for the LINESIZE and PAGESIZE system options in certain situations
In certain situations, SAS might unexpectedly modify the values for the LINESIZE and PAGESIZE system options. This can happen with the default values for LINESIZE and PAGESIZE as well as user-supplied values for LINESIZE and PAGESIZE. Occasionally, SAS also saves these modified values in SASUSER, so the modified values for LINESIZE and PAGESIZE persist from one SAS session to the next.
This issue can occur when you do any of the following:
- Use the ORIENTATION= system option.
- Create documents using the ODS RTF or ODS PDF statement.
- Create graphics output using the SAS/GRAPH® PNG or PNG300 device driver.
To set the LINESIZE and PAGESIZE options back to their default values and to prevent this problem from happening in the future, perform the following steps:
- Submit the following statements to SAS:
proc options option=sasuser;
run;
- Look in the SAS log and write down the name of the Windows directory that the Sasuser library points to. Then exit SAS.
- Use Windows Explorer to open the directory that the Sasuser library points to. In this directory, locate the following files:
regstry.sas7bitm
profile2.sas7bcat
profbak.sas7bcat
Rename these files to the following:
regstry.old
profile2.old
profbak.old
- Use a text editor to edit the SASV9.CFG file found in the following Windows directory:
Replace !SASROOT with your default SAS installation directory. When editing your SASV9.CFG file, add the following statement at the beginning of the file:
- Save the modified SASV9.CFG file. Now when you restart SAS, the LINESIZE and PAGESIZE values should be reset to their default values and the problem should not reoccur.
Operating System and Release Information
SAS System | N/A | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | |
Microsoft® Windows® for x64 | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | |
Microsoft Windows XP Professional | 9.2 TS1M0 | |
Windows Vista | 9.2 TS1M0 | |
Windows Vista for x64 | 9.2 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
In certain situations, SAS® might unexpectedly modify the values for the LINESIZE and PAGESIZE system options.
Date Modified: | 2010-10-25 14:06:53 |
Date Created: | 2010-10-11 14:03:59 |