Chapter Contents

Previous

Next
LOG=

LOG=



Specifies a destination to which the SAS log is written when executing SAS programs in batch or noninteractive mode

Default: LOG=TERMINAL for interactive line mode, LOG=program-name SASLOG for noninteractive mode, LOG=LOG window for SAS windowing environment
Valid in: configuration file, SAS invocation
CMS specifics: all


Syntax
Details
See Also

Syntax

LOG=destination

destination
can have the following values under CMS:

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 an external file using the following syntax:

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

fileref
specifies a logical name to be associated with an external file. This name is a one- to eight-character name that is not enclosed in quotes. This name must have been assigned using the CMS FILEDEF command.


Details

The LOG= 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 log written, specify NOLOG. NOLOG 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.