SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 62788: You cannot export to a database table when you use SAS® Customer Intelligence Studio

DetailsHotfixAboutRate It

The export process fails when you use a database table as the value for Output type in an export definition in SAS Customer Intelligence Studio: 

 

At the same time, the SASCustIntelCore6.5.log file displays the following error:

2018-08-15 17:15:49,881 ERROR [CIExec-3] [cbd5a9e10213e620:-53b7a361:1653d54d5cd:-19b6] [sasdemo] tics.crm.custdata.ejb.MAExportResultData - TID[CIExec-3] Stored process exception, MA Return Code: 000, MA Return Message: Macro[MACHKERR] There was an error in the called macro [maexp]. Check the log for details., SAS Return Code: 1012

In addition, the SASApp_STPServer_xxxx.log file displays the following error:

2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - MPRINT(MAEXP):   proc sql noprint;
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - MPRINT(MAEXP):   select engine into :bdEngine from dictionary.LIBNAMES where upcase(path)=upcase("MAEXP");
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - NOTE: No rows were selected.
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - MPRINT(MAEXP):   quit;
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - NOTE: PROCEDURE SQL used (Total process time):
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo -       real time           0.04 seconds
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo -       cpu time            0.01 seconds
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo -     
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo -
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - WARNING: Apparent symbolic reference BDENGINE not resolved.
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - ERROR: A character operand was found in the %EVAL function or %IF condition where a numeric operand is required. The condition was: &bdEngine eq TERADATA
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - ERROR: The macro MAEXP will stop executing.

2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - MPRINT(EXEC_MACRO):  ;
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - 177       +
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - 178       +%mastatus( &_stpwork.results.txt );
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - Return Status in process 51456:
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - SYSCC=1012
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - MAError=000
2018-08-15T17:15:49,834 INFO  [00005749] 46:sasdemo - MAMsg=Macro[MACHKERR] There was an error in the called macro [maexp]. Check the log for details.

This problem happens when you export to all supported databases. The issue was introduced with Hot Fix Z77011.

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 Customer Intelligence StudioMicrosoft® Windows® for x646.56.69.4 TS1M6
Microsoft Windows 8 Enterprise 32-bit6.56.69.4 TS1M6
Microsoft Windows 8 Enterprise x646.56.69.4 TS1M6
Microsoft Windows 8 Pro 32-bit6.56.69.4 TS1M6
Microsoft Windows 8 Pro x646.56.69.4 TS1M6
Microsoft Windows 8.1 Enterprise 32-bit6.56.69.4 TS1M6
Microsoft Windows 8.1 Enterprise x646.56.69.4 TS1M6
Microsoft Windows 8.1 Pro 32-bit6.56.69.4 TS1M6
Microsoft Windows 8.1 Pro x646.56.69.4 TS1M6
Microsoft Windows 106.56.69.4 TS1M6
Microsoft Windows Server 20086.56.69.4 TS1M6
Microsoft Windows Server 2008 R26.56.69.4 TS1M6
Microsoft Windows Server 2008 for x646.56.69.4 TS1M6
Microsoft Windows Server 2012 Datacenter6.56.69.4 TS1M6
Microsoft Windows Server 2012 R2 Datacenter6.56.69.4 TS1M6
Microsoft Windows Server 2012 R2 Std6.56.69.4 TS1M6
Microsoft Windows Server 2012 Std6.56.69.4 TS1M6
Microsoft Windows Server 20166.56.69.4 TS1M6
Windows 7 Enterprise 32 bit6.56.69.4 TS1M6
Windows 7 Enterprise x646.56.69.4 TS1M6
Windows 7 Home Premium 32 bit6.56.69.4 TS1M6
Windows 7 Home Premium x646.56.69.4 TS1M6
Windows 7 Professional 32 bit6.56.69.4 TS1M6
Windows 7 Professional x646.56.69.4 TS1M6
Windows 7 Ultimate 32 bit6.56.69.4 TS1M6
Windows 7 Ultimate x646.56.69.4 TS1M6
64-bit Enabled AIX6.56.69.4 TS1M6
64-bit Enabled Solaris6.56.69.4 TS1M6
HP-UX IPF6.56.69.4 TS1M6
Linux for x646.56.69.4 TS1M6
Solaris for x646.56.69.4 TS1M6
* 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.