Setting Up Your SAS Session |
Setting System Options
|
To modify system options, you submit an OPTIONS statement. You can place an OPTIONS statement anywhere in a SAS program to change the current settings. |
Because the OPTIONS statement is global, the settings remain in effect until you modify them or end your SAS session. |
General form, OPTIONS statement:
where options specifies one or more system options to be changed. The system options available depend on your host system. |
For example, the following OPTIONS statement suppresses
the printing of both page numbers and the date and time in listing output.
options nonumber nodate; In this example, page numbers and the current date are not displayed on the PROC PRINT output. Page numbers are not displayed on the PROC FREQ output either, but the date does appear at the top of the report. options nonumber nodate; proc print data=sales.qtr4; var salesrep type unitsold region; where unitsold>=30; run; options date; proc freq data=sales.qtr4; where unitsold>=30; tables salesrep; run; The table below summarizes some frequently used system options for controlling the appearance of listing output. For explanations, examples, and sample code, select an option. |
Option | Specifies ... |
---|---|
DATE | NODATE | whether the date and time appear in your output |
NUMBER | NONUMBER | whether page numbers appear in your output |
PAGENO= | the beginning page number for your output |
PAGESIZE= | the number of lines printed on each page of output |
LINESIZE= | the print line width for your log and procedure output |
Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.