SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 56786: Incorrect counts are generated when you use the parameter DAY<=10 combined with MONTH<=10 in a Select node in SAS® Customer Intelligence Studio

DetailsHotfixAboutRate It

In SAS Customer Intelligence Studio, incorrect counts are generated when you use the same range for different date-type fields (for example, day<=10 combined with month<=10) in a Select node.

When you view the audit log of the campaign, the counts that are returned for the September 10-October 7 range only return September records. For this example, the generated SQL code is similar to the following:

) <= 1.0 AND
( ( ( ( month( ( table0.Last_Expected_MC_Renewal_Date ) ) ) >= 9.0 AND ( month(
(
table0.Last_Expected_Renewal_Date ) ) ) <= 9.0) AND ( day( (
table0.Last_Expected_Renewal_Date ) ) ) <= 30.0) OR ( ( ( month( (
table0.Last_Expected_Renewal_Date ) ) ) <= 10.0 AND ( day( (
table0.Last_Expected_Renewal_Date ) ) ) >= 1.0) AND ( day( (
table0.Last_Expected_Renewal_Date ) ) ) <= 7.0) ) AND
( day( ( table0.Last_Expected_Renewal_Date ) ) ) >= 10.0
) table3 ;

In this code, the comparison operator (<=) does not take into account the different date-type fields.

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



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Marketing AutomationMicrosoft® Windows® for x646.46.59.4 TS1M3
Microsoft Windows 8 Enterprise 32-bit6.46.59.4 TS1M3
Microsoft Windows 8 Enterprise x646.46.59.4 TS1M3
Microsoft Windows 8 Pro 32-bit6.46.59.4 TS1M3
Microsoft Windows 8 Pro x646.46.59.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit6.46.59.4 TS1M3
Microsoft Windows 8.1 Enterprise x646.46.59.4 TS1M3
Microsoft Windows 8.1 Pro6.46.59.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit6.46.59.4 TS1M3
Microsoft Windows Server 20086.46.59.4 TS1M3
Microsoft Windows Server 2008 R26.46.59.4 TS1M3
Microsoft Windows Server 2008 for x646.46.59.4 TS1M3
Microsoft Windows Server 2012 Datacenter6.46.59.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter6.46.59.4 TS1M3
Microsoft Windows Server 2012 R2 Std6.46.59.4 TS1M3
Microsoft Windows Server 2012 Std6.46.59.4 TS1M3
Windows 7 Enterprise 32 bit6.46.59.4 TS1M3
Windows 7 Enterprise x646.46.59.4 TS1M3
Windows 7 Home Premium 32 bit6.46.59.4 TS1M3
Windows 7 Home Premium x646.46.59.4 TS1M3
Windows 7 Professional 32 bit6.46.59.4 TS1M3
Windows 7 Professional x646.46.59.4 TS1M3
Windows 7 Ultimate 32 bit6.46.59.4 TS1M3
Windows 7 Ultimate x646.46.59.4 TS1M3
64-bit Enabled AIX6.46.59.4 TS1M3
64-bit Enabled Solaris6.46.59.4 TS1M3
HP-UX IPF6.46.59.4 TS1M3
Linux for x646.46.59.4 TS1M3
Solaris for x646.46.59.4 TS1M3
* 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.