12-11-2014 05:34 PM
Are you looking to do this as part of your batch program?
That can be done with PROC PRINTO;
filename file1 "c:\path\file1.log";
filename file2 "c:\path\file2.log";
<as many as you think you need>
add statements such as this to output data to separate files at strategic points in the program.
Proc Printo log=file1;run;
Proc prinnto; run; will return to default log behavior.
I would also look at what you have that is generating so much output such as options like MPRINT, MLOGIC, SYMBOLGEN, the value for the ERRORS option and statements such as PUT and %PUT that may be writing to the log.
12-14-2014 03:48 AM
Do not generate that much logging in the SAS-log.
- Needing auditing compliance with SIEM there are better ways.
- Wanting a correct error/warning handling etc. design and do your coding/programming accordingly