Previous Page | Next Page

System Options under z/OS

LOG= System Option: z/OS



Specifies a destination for a copy of the SAS log when running in batch mode.
Default: SASLOG
Valid in: configuration file, SAS invocation
Category: Environment Control: ENVFILES
PROC OPTIONS GROUP= ENVFILES
LOGCONTROL
z/OS specifics: file-specification

Syntax
Details
See Also

Syntax

LOG=<file-specification>
NOLOG

file-specification

identifies an external file. Under z/OS, it can be a valid ddname, a physical filename, or the name of a file stored in the directory structure of the UNIX file system. The ddname must have been previously associated with an external file using either a TSO ALLOCATE command or a JCL DD statement.


Details

When SAS is started with the OBJECTSERVER and NOTERMINAL system options and no log is specified, SAS discards all log and alternate log messages.

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

Using directives in the value of the LOG system option enables you to control when logs are open and closed and how they are named, based on real-time events, such as time, month, day of week, and so on. For a list of directives see the LOGPARM= System Option: z/OS.

If you start SAS in batch mode or server mode and the LOGCONFIGLOC= option is specified, logging is done by the SAS logging facility. The traditional SAS log option LOGPARM= is ignored. The traditional SAS log option LOG= is honored only when the %S{App.Log} conversion character is specified in the logging configuration file. For more information, see SAS Logging Facility in SAS Logging: Configuration and Programming Reference.


See Also

Previous Page | Next Page | Top of Page