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
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
| SAS System | Base SAS | z/OS | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Windows Vista | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| 64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| 64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| 64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| HP-UX IPF | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Linux | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Linux on Itanium | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Solaris for x64 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
| Tru64 UNIX | 9.1 TS1M3 SP4 | 9.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.
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. This problem occurs in SAS 9.1.3 SP4 if Hot Fix E9BC46 has been applied.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2009-10-27 09:31:18 |
| Date Created: | 2008-12-16 16:42:59 |