SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 15160: Unexpected behavior in macro when dealing with nested functions

DetailsHotfixAboutRate It
Unexpected behavior may occur when a program contains nested non-macro
functions which also contain macro quoting functions and quoted strings.

The error/warnings will vary and it's also possible that no errors are
generated.

Out of memory errors can also occur with this issue.

Here is an example of a line that may cause a problem:

   x=tranwrd(tranwrd(%unquote(&ifcode1),"$",&lastvarstr1),'#', '&');

A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at:

http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#015160

For customers running SAS with Asian Language Support (DBCS), this
fix should be downloaded from:

http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#015160


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASLinux9.1 TSP19.2 TS1M0
64-bit Enabled Solaris9.1 TSP19.2 TS1M0
z/OS9.1 TSP19.2 TS1M0
64-bit Enabled AIX9.1 TSP19.2 TS1M0
OpenVMS Alpha9.1 TSP19.2 TS1M0
64-bit Enabled HP-UX9.1 TSP19.2 TS1M0
HP-UX IPF9.1 TSP19.2 TS1M0
Linux on Itanium9.1 TSP1
Tru64 UNIX9.1 TSP19.2 TS1M0
* 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.