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:


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.