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.

The LIBNAME Statement <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 STRINGDATES= LIBNAME Option 191NONEprevents those <strong>SAS</strong> procedures that are enabled <strong>for</strong> in-database processing fromgenerating SQL <strong>for</strong> in-database processing. This is a primary state.DBMSallows <strong>SAS</strong> procedures that are enabled <strong>for</strong> in-database processing to generate SQL<strong>for</strong> in-database processing of DBMS tables through supported <strong>SAS</strong>/<strong>ACCESS</strong> engines.This is a primary state.DBMS=’engine1 engine2 ... enginen’specifies one or more <strong>SAS</strong>/<strong>ACCESS</strong> engines. It modifies the primary state.Restriction:The maximum length of an engine name is 8 characters.EXCLUDEDB=engine |’engine1 engine2 ... enginen’prevents <strong>SAS</strong> procedures from generating SQL <strong>for</strong> in-database processing <strong>for</strong> one ormore specified <strong>SAS</strong>/<strong>ACCESS</strong> engines.Restriction: The maximum length of an engine name is 8 characters.EXCLUDEPROC="engine=’proc1 proc2 ... procn’ enginen=’proc1 proc2 ... procn’ "identifies engine-specific <strong>SAS</strong> procedures that do not support in-database processing.Restrictions: The maximum length of a procedure name is 16 characters.An engine can appear only once, and a procedure can appear only once <strong>for</strong> agiven engine.""resets the value to the default that was shipped.DetailsUse this option with such procedures as PROC FREQ to indicate what SQL isgenerated <strong>for</strong> in-database processing based on the type of subsetting that you need andthe <strong>SAS</strong>/<strong>ACCESS</strong> engines that you want to access the source table.You must specify NONE and DBMS, which indicate the primary state.The maximum length of the option value is 4096. Also, parentheses are requiredwhen this option value contains multiple keywords.Not all procedures support SQL generation <strong>for</strong> in-database processing <strong>for</strong> everyengine type. If you specify a setting that is not supported, an error message indicatesthe level of SQL generation that is not supported, and the procedure can reset to thedefault so that source table records can be read and processed within <strong>SAS</strong>. If this is notpossible, the procedure ends and sets SYSERR= as needed.You can specify different SQLGENERATION= values <strong>for</strong> the DATA= and OUT= datasets by using different LIBNAME statements <strong>for</strong> each of these two data sets.See Also“SQLGENERATION= System Option” on page 420Chapter 8, “Overview of In-Database Procedures,” on page 67Table 12.2 on page 421STRINGDATES= LIBNAME OptionSpecifies whether to read date and time values from the database as character strings or asnumeric date values.

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

Saved successfully!

Ooh no, something went wrong!