Chapter Contents

Previous

Next
LOG

LOG



Controls the creation of the SAS log file for batch mode

Default: filename.LOG in batch mode, where filename is the name of your SAS job
Valid in: configuration file, SAS invocation
Windows specifics: destination must be a valid Windows filename


Syntax
Details

Syntax

-LOG "destination" | -NOLOG

LOG "destination"
specifies the destination for the SAS log. The destination argument can be a valid Windows pathname or filename (including device names such as LPT1) or an environment variable associated with a pathname. If you specify only a pathname, the log file is created in the specified directory with the default name of filename.LOG, where filename is the name of your SAS job.

NOLOG
suppresses the creation of a SAS log. Do not use this value unless your SAS program is thoroughly debugged.


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.

This system option is valid only in batch mode.

When running the SAS System interactively, the log is sent to the LOG window; in batch mode, it is sent to a file named filename.LOG in located in the SAS System working directory, where filename is the name of your SAS job. You can use the LOG system option to specify an alternate destination.


Chapter Contents

Previous

Next

Top of Page

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