Chapter Contents

Previous

Next
LOG=

LOG=



Specifies where the SAS log is written when running SAS programs in any mode other than the windowing environment

Language element: system option
Default: SYS$OUTPUT for interactive line mode; program-name.LOG for noninteractive and batch modes; LOG for the SAS windowing environment mode
Valid in: configuration file, SAS invocation, VMS_SAS_OPTIONS DCL symbol
OpenVMS specifics: valid values for destination; syntax


Syntax
Details
See Also

Syntax

LOG=destination
NOLOG

LOG=destination
specifies either an external file or a device where the SAS log is written. The value of destination can be SYS$PRINT (the default printer queue); your current display; SYS$OUTPUT (the default output stream); or an OpenVMS pathname.

NOLOG
specifies that the SAS log is not written to a file. NOLOG is valid only in noninteractive mode and batch mode.


Details

The LOG= system option specifies a destination to which the SAS log is written when executing SAS programs in modes other than the windowing environment.

To send the log to a printer other than the default printer, redefine the SYS$PRINT logical name to the queue that you want to use.

The LOG= option is valid in interactive line mode, noninteractive mode, and batch mode. It is ignored in the SAS windowing environment. NOLOG is valid in noninteractive mode and batch mode; it is ignored in interactive line mode and 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.