SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52580: The SASMSG function might generate incorrect results in the first maintenance release for SAS® 9.4 (TS1M1)

DetailsHotfixAboutRate It

In SAS 9.4 TS1M1, if you use the same parameter more than once in the text field of a message that is used by the SASMSG function, an incorrect result occurs. This problem does not occur in SAS® 9.3 or SAS® 9.4 TS1M0.

For example, suppose that a SASMSG data set contains the following key/message pair:

etldim_L_59_key = Account member "%#1s" is a Balance account.
The "%#2s" member is defined as a child the "%#1s" member.

If you run the sample code below in SAS 9.4 TS1M1, incorrect results occur. That is, the substitution does not occur.

%put MSG=%SYSFUNC(SASMSG(WORK.MYDS, etldim_L_59_key, N, PARAM1, PARAM2 ));

Here are the logs for SAS 9.3 and SAS 9.4 TS1M1.

SAS 9.3 Log Showing the Correct Result

MSG=Account member "PARAM1" is a Balance account. 
The "PARAM2" member is defined as a child of the "PARAM1" member.

SAS 9.4 TS1M1 Log Showing the Incorrect Result

MSG=Account member "%#1s" is a Balance account. 
The "%#2s" member is defined as a child the "%#1s" member.

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 SystemBase SASz/OS9.4_M19.4_M29.4 TS1M19.4 TS1M2
Z649.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft® Windows® for x649.4_M19.4 TS1M1
Microsoft Windows 8 Enterprise 32-bit9.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows 8 Enterprise x649.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows 8 Pro 32-bit9.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows 8 Pro x649.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows 8.1 Enterprise 32-bit9.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows 8.1 Enterprise x649.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows 8.1 Pro9.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows 8.1 Pro 32-bit9.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows Server 20089.4_M19.4 TS1M1
Microsoft Windows Server 2008 R29.4_M19.4 TS1M1
Microsoft Windows Server 2008 for x649.4_M19.4 TS1M1
Microsoft Windows Server 2012 Datacenter9.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows Server 2012 R2 Datacenter9.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows Server 2012 R2 Std9.4_M19.4_M29.4 TS1M19.4 TS1M2
Microsoft Windows Server 2012 Std9.4_M19.4_M29.4 TS1M19.4 TS1M2
Windows 7 Enterprise 32 bit9.4_M19.4_M29.4 TS1M19.4 TS1M2
Windows 7 Enterprise x649.4_M19.4_M29.4 TS1M19.4 TS1M2
Windows 7 Home Premium 32 bit9.4_M19.4_M29.4 TS1M19.4 TS1M2
Windows 7 Home Premium x649.4_M19.4_M29.4 TS1M19.4 TS1M2
Windows 7 Professional 32 bit9.4_M19.4_M29.4 TS1M19.4 TS1M2
Windows 7 Professional x649.4_M19.4_M29.4 TS1M19.4 TS1M2
Windows 7 Ultimate 32 bit9.4_M19.4_M29.4 TS1M19.4 TS1M2
Windows 7 Ultimate x649.4_M19.4_M29.4 TS1M19.4 TS1M2
64-bit Enabled AIX9.4_M19.4_M29.4 TS1M19.4 TS1M2
64-bit Enabled Solaris9.4_M19.4_M29.4 TS1M19.4 TS1M2
HP-UX IPF9.4_M19.4_M29.4 TS1M19.4 TS1M2
Linux for x649.4_M19.4_M29.4 TS1M19.4 TS1M2
Solaris for x649.4_M19.4_M29.4 TS1M19.4 TS1M2
* 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.