Problem Note 62788: You cannot export to a database table when you use SAS® Customer Intelligence Studio
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
SAS System | SAS Customer Intelligence Studio | Microsoft® Windows® for x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows 8 Enterprise 32-bit | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows 8 Enterprise x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows 8 Pro 32-bit | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows 8 Pro x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise 32-bit | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro 32-bit | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows 10 | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows Server 2008 | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows Server 2008 R2 | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows Server 2008 for x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows Server 2012 Datacenter | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Datacenter | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Std | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows Server 2012 Std | 6.5 | 6.6 | | 9.4 TS1M6 |
Microsoft Windows Server 2016 | 6.5 | 6.6 | | 9.4 TS1M6 |
Windows 7 Enterprise 32 bit | 6.5 | 6.6 | | 9.4 TS1M6 |
Windows 7 Enterprise x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
Windows 7 Home Premium 32 bit | 6.5 | 6.6 | | 9.4 TS1M6 |
Windows 7 Home Premium x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
Windows 7 Professional 32 bit | 6.5 | 6.6 | | 9.4 TS1M6 |
Windows 7 Professional x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
Windows 7 Ultimate 32 bit | 6.5 | 6.6 | | 9.4 TS1M6 |
Windows 7 Ultimate x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
64-bit Enabled AIX | 6.5 | 6.6 | | 9.4 TS1M6 |
64-bit Enabled Solaris | 6.5 | 6.6 | | 9.4 TS1M6 |
HP-UX IPF | 6.5 | 6.6 | | 9.4 TS1M6 |
Linux for x64 | 6.5 | 6.6 | | 9.4 TS1M6 |
Solaris for x64 | 6.5 | 6.6 | | 9.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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2018-08-21 15:39:49 |
Date Created: | 2018-08-17 04:11:53 |