Problem Note 47908: "ERROR: Expected open parenthesis after macro function name not found" occurs when using an SCD Type 2 Loader transformation
Starting with SAS® Data Integration Studio 4.5 the %sysfunc() function call is used to prevent an incorrect update of the target table when a non-unique bussiness key is used. See SAS Note 47906 "The target table might not update correctly when using the SCD Type 2 Loader transformation."
When the Beginning Date expression on the Change Tracking tab of the SCD Type 2 Loader transformation is not a SAS® function, the following error occurs:
ERROR: Expected open parenthesis after macro function name not found.
As a workaround, change the Automatic generated code to User Written code. In addition, locate the following code:
/* Generate the from date expression */
%let etls_begdate = %sysfunc(expression);
Change the preceding code as follows:
/* Generate the from date expression */
%let etls_begdate = expression;
Operating System and Release Information
SAS System | SAS Data Integration Studio | Windows 7 Home Premium x64 | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Windows 7 Home Premium 32 bit | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Windows 7 Enterprise x64 | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Windows 7 Enterprise 32 bit | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Microsoft Windows XP Professional | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Microsoft Windows Server 2008 for x64 | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Microsoft Windows Server 2008 | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Microsoft Windows Server 2003 for x64 | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Standard Edition | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise Edition | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter Edition | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Microsoft® Windows® for x64 | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Windows 7 Professional 32 bit | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Windows 7 Professional x64 | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Windows 7 Ultimate 32 bit | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Windows 7 Ultimate x64 | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Windows Vista | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 TS1M2 |
Windows Vista for x64 | 4.5 | 4.6 | 9.3 TS1M2 | 9.3 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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2013-01-30 11:18:38 |
Date Created: | 2012-09-18 08:09:52 |