The ALTLOG system option
specifies a destination to which a copy of the SAS log is written.
Use the ALTLOG system option to capture log output for printing.
To send the SAS log
to a printer other than the default printer, use a valid Windows printer
name for the
destination value.
Using directives in the value of
the ALTLOG 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. For a list of directives see the LOGPARM=
system option in the
SAS System Options: Reference
When SAS is started
with the OBJECTSERVER and NOTERMINAL system options and no log is
specified, SAS discards all log and alternate log messages.
Note: ALTLOG replaces the following
system options from earlier versions of SAS: LDISK, LPRINT, and LTYPE.