BookmarkSubscribeRSS Feed
QLi
Fluorite | Level 6 QLi
Fluorite | Level 6

Hi, all,

Is it possible to define buffer size  in the libname statement?   or how can pre define  buffsize = for the whole librabry?

Thanks.

2 REPLIES 2
Ksharp
Super User

Maybe you need to find something in Documentation.

If you connect to Oracle (can't DB2) you can use readbuff=1000 to promote the speed of extracting data.

i.e. extract 1000 obe one time.

libname x oracle ............   readbuff=1000 ;

Ksharp

FriedEgg
SAS Employee

bufsize can be defined as either a data set option or a system option, but not as a library option, as far as I know.  The dataset option supercedes the system option setting.  Either way the option is applied on the creation of a dataset and remains with it until it is either rebuilt using a different bufsize or deleted.  So if you wanted to apply a certain bufsize to ever dataset in a library you should be sure to rebuild all your datasets using the appropriate number.  An method that can aid in redefining an entire libraries bufsize is proc migrate.  Of course this does not aid in setting the same bufsize to new datasets added later to this library.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1200 views
  • 0 likes
  • 3 in conversation