Hi,
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.
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.
Doc Muhlbaier
Duke
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.
Thanks ,
Manoj
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.