BookmarkSubscribeRSS Feed
manojinpec
Obsidian | Level 7

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.

2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12

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

manojinpec
Obsidian | Level 7

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

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 953 views
  • 0 likes
  • 2 in conversation