SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 66917: The result of a binary operation in the IML procedure can be incorrect if the same matrix name is used on both sides of certain assignment statements

DetailsHotfixAboutRate It

PROC IML might generate an incorrect result for an assignment statement when a binary operation is performed between a scalar or vector and a large matrix, and the result matrix has the same name as the scalar or vector in the expression. Binary operations include comparison operators (<, <=, >, >=), logical operators (&, |, ^), addition and subtraction (+, -), element maximum and minimum operators (<>, ><), and elementwise multiplication and division (#, /).

For example, if A is a scalar or a vector and B is a large matrix, the following can produce an incorrect result for A:

A=A#B;

To circumvent the problem, specify a new name for the result as shown below:

C=A#B;

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/IMLz/OS15.115.39.4 TS1M69.4 TS1M8
Microsoft® Windows® for x6415.115.39.4 TS1M69.4 TS1M8
Microsoft Windows 8 Enterprise 32-bit15.115.39.4 TS1M69.4 TS1M8
Microsoft Windows 8 Enterprise x6415.115.39.4 TS1M69.4 TS1M8
Microsoft Windows 8 Pro 32-bit15.115.39.4 TS1M69.4 TS1M8
Microsoft Windows 8 Pro x6415.115.39.4 TS1M69.4 TS1M8
Microsoft Windows 8.1 Enterprise 32-bit15.115.39.4 TS1M69.4 TS1M8
Microsoft Windows 8.1 Enterprise x6415.115.39.4 TS1M69.4 TS1M8
Microsoft Windows 8.1 Pro 32-bit15.115.39.4 TS1M69.4 TS1M8
Microsoft Windows 8.1 Pro x6415.115.39.4 TS1M69.4 TS1M8
Microsoft Windows 1015.115.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 200815.115.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2008 R215.115.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2008 for x6415.115.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2012 Datacenter15.115.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2012 R2 Datacenter15.115.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2012 R2 Std15.115.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 2012 Std15.115.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 201615.115.39.4 TS1M69.4 TS1M8
Microsoft Windows Server 201915.115.39.4 TS1M69.4 TS1M8
Windows 7 Enterprise 32 bit15.115.39.4 TS1M69.4 TS1M8
Windows 7 Enterprise x6415.115.39.4 TS1M69.4 TS1M8
Windows 7 Home Premium 32 bit15.115.39.4 TS1M69.4 TS1M8
Windows 7 Home Premium x6415.115.39.4 TS1M69.4 TS1M8
Windows 7 Professional 32 bit15.115.39.4 TS1M69.4 TS1M8
Windows 7 Professional x6415.115.39.4 TS1M69.4 TS1M8
Windows 7 Ultimate 32 bit15.115.39.4 TS1M69.4 TS1M8
Windows 7 Ultimate x6415.115.39.4 TS1M69.4 TS1M8
64-bit Enabled AIX15.115.39.4 TS1M69.4 TS1M8
64-bit Enabled Solaris15.115.39.4 TS1M69.4 TS1M8
HP-UX IPF15.115.39.4 TS1M69.4 TS1M8
Linux for x6415.115.39.4 TS1M69.4 TS1M8
Solaris for x6415.115.39.4 TS1M69.4 TS1M8
* 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.