13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Data Set Options <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 LOCATION= Data Set Option 333KEYSET_SIZE= Data Set OptionSpecifies the number of rows in the cursor that the keyset drives.Default value: LIBNAME settingValid in: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: Microsoft SQL Server, ODBCSyntaxKEYSET_SIZE=number-of-rowsSyntax Descriptionnumber-of-rowsis a positive integer from 0 through the number of rows in the cursor.DetailsThis option is valid only when CURSOR_TYPE=KEYSET_DRIVEN.If KEYSET_SIZE=0, then the entire cursor is keyset-driven. If a value greater than0 is specified <strong>for</strong> KEYSET_SIZE=, then the value chosen indicates the number of rows,within the cursor, that function as a keyset-driven cursor. When you scroll beyond thebounds that KEYSET_SIZE= specifies, the cursor becomes dynamic and new rowsmight be included in the cursor. This results in a new keyset, where the cursorfunctions as a keyset-driven cursor again. Whenever the value specified is between 1and the number of rows in the cursor, the cursor is considered to be a mixed cursor.Part of the cursor functions as a keyset-driven cursor, and another part of the cursorfunctions as a dynamic cursor.See AlsoTo assign this option to a group of relational DBMS tables or views, see the“KEYSET_SIZE= LIBNAME Option” on page 154.LOCATION= Data Set OptionLets you further specify exactly where a table resides.Alias: LOC=Default value: LIBNAME settingValid in: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: DB2 under z/OS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!