on 06-29-201309:47 AM - last edited on 10-10-201509:35 PM by LainieH
Currently ALTLOG can only be set at SAS invocation.
Would be helpful to be able to set it during a SAS session, using the options statement.
For example, for automated log scanning, it is often helpful to have a text file with the log contents, so that SAS can parse it looking for errors/warning/notes.
The easiest way to make such a file would be to specify ALTLOG to write it.
Currently in DM SAS on windows, I can use DM statements to copy the log to a a file. And in batch I can read the log okay. But in EG, the only way I have found to get the log into a file is to use PROC PRINTTO. Which works, but of course then I don't see the log in EG. Would be nice to be able to just use ALTLOG.