Summary

PROC PRINTTO Statement Options

PROC PRINTTO <PRINT='alternate-output-file'> <LOG='alternate-log-file'> <NEW>;
PRINT='alternate-output-file'
identifies the location and routes the procedure output to this alternate location.
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.

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
writes the contents of the window.

Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.