SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 34234: Incorrect results might occur if you use the LIBNAME statement option IP=YES with an SQL procedure that contains data calculations in a WHERE clause

DetailsHotfixAboutRate It

In SAS® Scalable Performance Data Server®, incorrect results might be generated when you use the LIBNAME statement option IP=YES and an SQL procedure that contains date calculations in a WHERE clause. The problem occurs because of incorrect implicit pass-through processing, the results of which are passed to SAS Scalable Performance Data Server.

Note: This problem occurs in SAS 9.1.3 Service Pack 4 if Hot Fix E9BC46 has been applied.

Suppose, for example, that you have the following calculation in a WHERE clause:

claims.dateofservice ge (today()-35)

The calcualation is transformed into the following during the implicit pass-through processing:

claims.dateofservice >= ('15DEC2008'd - '15DEC2008'd)

This condition is passed by PROC SQL to SAS Scalable Performance Data Server, which then evaluates the condition to the following:

claims.dateofservice >= 0

Because the software incorrectly evaluates the clause to 0, it interprets the value to be '01jan1960'd, as shown here:

claims.dateofservice >= '01jan1960'd

To avoid incorrect results, either omit the IP= option in the LIBNAME statement or use IP=NO.

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Server9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Professional9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows NT Workstation9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows XP Professional9.1 TS1M3 SP49.1 TS1M3 SP4
Windows Vista9.1 TS1M3 SP49.1 TS1M3 SP4
64-bit Enabled AIX9.1 TS1M3 SP49.1 TS1M3 SP4
64-bit Enabled HP-UX9.1 TS1M3 SP49.1 TS1M3 SP4
64-bit Enabled Solaris9.1 TS1M3 SP49.1 TS1M3 SP4
HP-UX IPF9.1 TS1M3 SP49.1 TS1M3 SP4
Linux9.1 TS1M3 SP49.1 TS1M3 SP4
Linux on Itanium9.1 TS1M3 SP49.1 TS1M3 SP4
OpenVMS Alpha9.1 TS1M3 SP49.1 TS1M3 SP4
Solaris for x649.1 TS1M3 SP49.1 TS1M3 SP4
Tru64 UNIX9.1 TS1M3 SP49.1 TS1M3 SP4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.