Chapter Contents

Previous

Next
SAS Companion for UNIX Environments

Controlling the Content and Appearance of Output

Some of the attributes of the SAS log and procedure output depend on the destination to which they are being sent. For example, if the log and output are being sent to your display, the default line and page size are derived from your display. If one or both of these files are sent to the system printer or written to a file, the default line size is 132 and the default page size is 60.

Some of the attributes of the SAS log and procedure output depend on the mode in which you are running. For example, if you are running in interactive line mode, SAS source statements are not echoed to the SAS log. If you are using the SAS windowing environment all source statements are written to the log as they are submitted. In batch mode, the log and procedure output are formatted for a standard system printer.

See Customizing Your SAS Session for information on specifying system options.

Note:   The values that you enter through the FORM window may override the values specified in the LINESIZE and PAGESIZE options. See Text Body and Margin Information for more information.  [cautionend]


SAS Log Options

Use the following options to control the contents of the log. See SAS System Options for details on specifying options.

f FULLSTIMER
NOFULLSTIMER
controls whether a list of resources (such as I/O performed, page faults, elapsed time, and CPU time) used for each PROC or DATA step is written to the log. NOFULLSTIMER is the default.

LINESIZE=width
controls the line length used. Width can be any value from 64 to 256.

NOTES
NONOTES
controls printing of NOTES on the log. NOTES is the default setting for all execution modes. Specify NOTES unless your SAS program is completely debugged.

PAGESIZE=n
controls the number of lines that are printed on each page. N can be any number from 15 to 32767.

SOURCE
NOSOURCE
controls whether SAS source statements are written to the log. NOSOURCE is the default setting in interactive line mode; otherwise, SOURCE is the default.

SOURCE2
NOSOURCE2
controls whether SAS statements that are included with %INCLUDE statements are written to the log. NOSOURCE2 is the default setting for all execution modes.

STIMER
NOSTIMER
controls whether user CPU time and elapsed time are written to the log. STIMER is the default.


Procedure Output Options

Use these system options to control the contents of the procedure output:

CENTER
NOCENTER
controls whether the printed results are centered or left-aligned on the procedure output page. CENTER is the default.

DATE
NODATE
controls whether the date is written at the top of each procedure output page. DATE is the default.

LINESIZE=width
controls the line length used. Width can be any value from 64 to 256.

NUMBER
NONUMBER
controls whether the output page number is written on each procedure output page. NUMBER is the default.

PAGENO=n
resets the current page number in the print file. The default page number at the beginning of the SAS session is 1. The pages are numbered sequentially throughout the SAS session unless the PAGENO option is specified in an OPTIONS statement during the session.

PAGESIZE=n
controls the number of lines that are printed on each page. N can be any number from 15 to 32767.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.