SAS® In-Database processing enables several Base SAS Procedures to run inside one of several supported databases. This means that very large database files do not need to be transferred to enable SAS to do the analysis. In some cases, the Base SAS procedure syntax is converted to SQL procedure syntax that will use implicit pass-through to run inside the database. In other cases, native SQL is generated from the Base SAS procedure and it runs inside the database using explicit pass-through.
Supported databases as of SAS 9.2(TS2M3) are: Teradata, Oracle, DB2 running on Unix servers
The following link shows procedures enhanced for In-Database Processing and the DBMS supported: Procedures enhanced for In-Database Processing
To enable In-Database Processing, in addition to specifying the database engine on the LIBNAME statement, you should also specify SQLGENERATION=DBMS on the LIBNAME statement or as a global system option.
libname test teradata server=xxxx user=xxxx password=xxxx sqlgeneration=dbms;
The following system options will provide additional information in the SAS log about the In-Database Processing:
options msglevel=i sastrace=',,,d' sastraceloc=saslog;
Base SAS® Software Procedures that Support SAS® In-Database Processing |
Base Procedures |
Starting SAS® Release
|
Not Supported
|
FREQ |
9.2 TS2M2
|
ORDER=DATA
|
RANK |
9.2 TS2M2
|
TIES=CONDENSE (in Oracle DBMS)
Formatted BY variables |
REPORT |
9.2 TS2M3
|
DISPLAY/ORDER variables
Statistics: MODE, PCTN, PCTSUM, quantile statistics*, hypothesis testing statistics** WEIGHT for CSS, USS, VAR, STD, STDERR, CV |
SUMMARY/MEANS |
9.2 TS2M2
|
Statements: FREQ, ID, IDMIN, IDMAX, IDGROUPS
Statistics: KURT, MODE, SKEW, quantile statistics*, hypothesis testing statistics** WEIGHT for CSS, USS, VAR, STD, STDERR, CV, UCLM, LCLM, CLM |
TABULATE |
9.2 TS2M3
|
Statements: FREQ
Statistics: all PCTN and PCTSUM statistics, KURT, MODE, SKEW, quantile statistics*, hypothesis testing statistics** |
* Quantile statistics include: P1, P5, P10, P25/Q1, P50/MEDIAN, p75/Q3, P90, P95, P99, QRANGE ** Hypothesis testing statistics include: PRT/PROBT, T |
Considerations/Limitations that apply to all procedures:
The following LIBNAME statement options prevent In-Database Processing:
For more information about how a specific procedure works inside the database, see the documentation for the individual procedure. The SAS/ACCESS documentation for each database includes specific sections about In-Database Processing.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | z/OS | 9.21_M2 | 9.2 TS2M2 | ||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft Windows XP 64-bit Edition | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft® Windows® for x64 | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 Datacenter Edition | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 Standard Edition | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2003 for x64 | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2008 | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft Windows Server 2008 for x64 | 9.21_M2 | 9.2 TS2M2 | ||||
Microsoft Windows XP Professional | 9.21_M2 | 9.2 TS2M2 | ||||
Windows 7 Enterprise 32 bit | 9.21_M2 | 9.2 TS2M2 | ||||
Windows 7 Enterprise x64 | 9.21_M2 | 9.2 TS2M2 | ||||
Windows 7 Home Premium 32 bit | 9.21_M2 | 9.2 TS2M2 | ||||
Windows 7 Home Premium x64 | 9.21_M2 | 9.2 TS2M2 | ||||
Windows 7 Professional 32 bit | 9.21_M2 | 9.2 TS2M2 | ||||
Windows 7 Professional x64 | 9.21_M2 | 9.2 TS2M2 | ||||
Windows 7 Ultimate 32 bit | 9.21_M2 | 9.2 TS2M2 | ||||
Windows 7 Ultimate x64 | 9.21_M2 | 9.2 TS2M2 | ||||
Windows Vista | 9.21_M2 | 9.2 TS2M2 | ||||
Windows Vista for x64 | 9.21_M2 | 9.2 TS2M2 | ||||
64-bit Enabled AIX | 9.21_M2 | 9.2 TS2M2 | ||||
64-bit Enabled HP-UX | 9.21_M2 | 9.2 TS2M2 | ||||
64-bit Enabled Solaris | 9.21_M2 | 9.2 TS2M2 | ||||
HP-UX IPF | 9.21_M2 | 9.2 TS2M2 | ||||
Linux | 9.21_M2 | 9.2 TS2M2 | ||||
Linux for x64 | 9.21_M2 | 9.2 TS2M2 | ||||
OpenVMS on HP Integrity | 9.21_M2 | 9.2 TS2M2 | ||||
Solaris for x64 | 9.21_M2 | 9.2 TS2M2 |
Type: | Usage Note |
Priority: |
Date Modified: | 2011-06-06 14:20:26 |
Date Created: | 2011-05-04 08:44:29 |