SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 56903: Exporting Numeric custom detail tags fails and returns a syntax error in SAS® Marketing Automation

DetailsHotfixAboutRate It

When you run an export in SAS Marketing Automation after you apply hot fix E88017, you encounter the following error in the SASMarketingAutomationCore5.4.log file when you use pipe (|) as a delimiter:

2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - 129 + NumExtractHNGWJYIKYUYOIAAA = scan(NumStringInHNGWJYIKYUYOIAAA ,LoopCountHNGWJYIKYUYOIAAA , &treatmentDelimchar. ,&scanModifier. ); 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - NOTE: Line generated by the macro variable "TREATMENTDELIMCHAR". 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - 129 '|' 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - _ 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - The SAS System 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - 386 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - _ 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - 200 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - 76 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - MPRINT(MAEXP): NumExtractHNGWJYIKYUYOIAAA = scan(NumStringInHNGWJYIKYUYOIAAA ,LoopCountHNGWJYIKYUYOIAAA , '|' ,'' ); 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - ERROR 386-185: Expecting an arithmetic expression. 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - ERROR 200-322: The symbol is not recognized and will be ignored. 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - 2015-10-20T09:14:03,471 INFO [00007426] 172:sasdemo@XXX - ERROR 76-322: Syntax error, statement will be ignored.

This problem only happens when the following two conditions are true:

  1. You set pipe (|) as the value for the option Separator for exported list values as shown below:
    image label
  2. You export Numeric custom detail tags as shown below:
    image label

There is one workaround. If you are not using Tab as a delimiter, then you can revert to the previous version of the maexp.sas macro before the hot fix E88017.

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 Automation ServerMicrosoft® Windows® for x645.416.19.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition5.416.19.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition5.416.19.3 TS1M0
Microsoft Windows Server 2003 Standard Edition5.416.19.3 TS1M0
Microsoft Windows Server 2003 for x645.416.19.3 TS1M0
Microsoft Windows Server 20085.416.19.3 TS1M0
Microsoft Windows Server 2008 R25.416.19.3 TS1M0
Microsoft Windows Server 2008 for x645.416.19.3 TS1M0
Microsoft Windows XP Professional5.416.19.3 TS1M0
Windows 7 Enterprise 32 bit5.416.19.3 TS1M0
Windows 7 Enterprise x645.416.19.3 TS1M0
Windows 7 Home Premium 32 bit5.416.19.3 TS1M0
Windows 7 Home Premium x645.416.19.3 TS1M0
Windows 7 Professional 32 bit5.416.19.3 TS1M0
Windows 7 Professional x645.416.19.3 TS1M0
Windows 7 Ultimate 32 bit5.416.19.3 TS1M0
Windows 7 Ultimate x645.416.19.3 TS1M0
Windows Vista5.416.19.3 TS1M0
Windows Vista for x645.416.19.3 TS1M0
64-bit Enabled AIX5.416.19.3 TS1M0
64-bit Enabled HP-UX5.416.19.3 TS1M0
64-bit Enabled Solaris5.416.19.3 TS1M0
HP-UX IPF5.416.19.3 TS1M0
Linux for x645.416.19.3 TS1M0
Solaris for x645.416.19.3 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.