Chapter Contents

Previous

Next
PRINT=

PRINT=



Specifies the destination for SAS output when executing SAS programs in batch or noninteractive mode

Default: TERMINAL for interactive line mode; CMS program-name LISTING for noninteractive mode; OUTPUT window for the SAS windowing environment
Valid in: configuration file, SAS invocation
CMS specifics: all


Syntax
Details
See Also

Syntax

PRINT=destination

destination
can be any of the following under CMS:

LOG
directs procedure output and log output to the same file.

PRINTER
specifies that the SAS print file be sent to the default printer.

TERMINAL
specifies that the SAS print file be sent to the terminal.

file-specification
identifies the file in one of the following forms. Refer to Identifying an External File for additional details.

'filename <filetype <filemode | SFS-directory | *>>'
specifies the filename, filetype, and filemode or SFS directory, respectively. If the filetype is omitted, SAS assumes a filetype of LISTING.

fileref
specifies a logical name to be associated with an external file. The name consists of 1-8 characters that are not enclosed in quotes. The fileref must have been previously assigned using a CMS FILEDEF command.


Details

The PRINT= system option is valid in interactive line mode and noninteractive mode. It is ignored if the SAS windowing environment is invoked.

If you do not want a procedure output file written, specify NOPRINT. NOPRINT is ignored in the SAS windowing environment.

See Also


Chapter Contents

Previous

Next

Top of Page

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