As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.
Here are some tips for How to share your SAS knowledge with your professional network.
The command-line option AltLog saves a copy of the SAS log.
It works like the option log.
This statement produces an explanation of the option.
proc options define value option = altlog;
The argument can be either:
- directory specification
- file specification
Usage with directory specification: creates ..\altlog\MyProgram.log:
sas MyProgram -altlog ..\altlog
Usage with file specification: creates MyProgram1.log and MyProgram2.log
call sas MyProgram -altlog MyProgram1.log call sas MyProgram -altlog MyProgram2.log
For code to dynamically change the altlog filename see Using sysfunc with file functions to overwrite altlog