Hi, all,
Is it possible to define buffer size in the libname statement? or how can pre define buffsize = for the whole librabry?
Thanks.
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
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.
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.
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.