01-17-2012 03:14 AM
What is the default location where buffer is located when we create log using proc printto?
How the default buffer length can be changed for proc printto.
01-17-2012 01:23 PM
I'm not exactly sure what you mean or what you are trying to do. If you are talking about the buffered writes for the log, then that is managed by the operating system.
I think that the only way to change that kind of buffer length by changing the write buffer block size for your disk hardware. That's a bit drastic as it requires reformatting the disk drive.
01-19-2012 03:37 AM
Hi Doc ,
The issue we are facing is that we are using proc printto and what proc printto does is that it output the log into buffer and when the buffer is full it output the same to my physical location. whenever we run our code and if there is error then many a times we are not able to see the log as the part of the log containing the error in in output and when my session is abended i am not able to see the log as it gets deleted from internal buffer.
If i use unbuflog option it will directly write to my physical file. But i want to decrease the buffer size.
I am not sure whether it uses SAS internal buffer or operating system defined buffer.
If someone can help please.