SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 41196: SAS® might unexpectedly modify the values for the LINESIZE and PAGESIZE system options in certain situations

DetailsAboutRate It

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:

  1. Submit the following statements to SAS:
    proc options option=sasuser; 
    run;
    
  2. Look in the SAS log and write down the name of the Windows directory that the Sasuser library points to. Then exit SAS.
  3. 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
    
  4. Use a text editor to edit the SASV9.CFG file found in the following Windows directory:
    !SASROOT\nls\en
    
    Replace !SASROOT with your default SAS installation directory. When editing your SASV9.CFG file, add the following statement at the beginning of the file:
    -PRINTNOSETLSPS
    
  5. 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

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemN/AMicrosoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS1M0
Microsoft® Windows® for x649.2 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M0
Microsoft Windows XP Professional9.2 TS1M0
Windows Vista9.2 TS1M0
Windows Vista for x649.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.