Previous Page | Next Page

Directing SAS Output and the SAS Log

Review of SAS Tools


PROC PRINTTO Statement Options

PROC PRINTTO <PRINT='alternate-output-file'> <LOG='alternate-log-file'>
<NEW>;

LOG='alternate-log-file'

identifies the location and routes the SAS log to this alternate location.

NEW

specifies that the current log or procedure output writes over the previous contents of the file.

PRINT='alternate-output-file'

identifies the location and routes the procedure output to this alternate location.


SAS Windowing Environment Commands

CLEAR

clears the contents of a window, as specified.

FILE <file-to-store-contents-of-window>

routes a copy of the contents of a window to the file that you specify; the original contents remain in place.

PRINT

prints the contents of the window.


SAS System Options

LOG=system-filename

redefines the default destination for the SAS log to the file named system-filename.

PRINT=system-filename

redefines the default destination for procedure output to the file named system-filename.

Previous Page | Next Page | Top of Page