PRINT System Option: Windows

Specifies a destination for SAS output when running in batch mode.
Valid in: configuration file, SAS invocation
Category: Environment control: Files
PROC OPTIONS GROUP= ENVFILES
Default: filename.LST in batch mode, where filename is the name of your SAS job
Windows specifics: all

Syntax

-PRINT destination | -NOPRINT

Required Arguments

PRINT destination
specifies the destination for the SAS procedure output file. The destination argument can be a valid Windows pathname or filename (including device names) or an environment variable associated with a pathname. If you specify a pathname and it contains spaces, it must be enclosed in quotation marks. If you specify only a pathname, the procedure output file is created in the specified directory, with the default name of filename.LST, where filename is the name of your SAS job.
NOPRINT
suppresses the creation of the SAS procedure output file.

Details

The PRINT system option specifies the destination to which SAS output is written when executing SAS programs in modes other than the interactive windowing environment.
The PRINT system option is valid only in batch mode.
When SAS is running interactively, the procedure output file is sent to the OUTPUT window. When SAS is running in batch mode, output is sent to a file named filename.LST, where filename is the name of your SAS job. You can use the PRINT option to specify an alternate destination.