Problem Note 56296: An error occurs when you process a table that has a column with values that exceed the predefined length
In SAS® Customer Experience Analytics, you can process data tables into Oracle tables. When you process a table that has a column with values that exceed the predefined length, an error occurs. For example, you receive an error if you have a column that is predefined with the NUMERIC(9) function, but the values in the column contain ten digits.
When this problem happens, an error message similar to the following is generated:
NOTE: There were 100 observations read from the data set CXASTAGE.STAGING_TABLE.
NOTE: 99 observations added.
NOTE: The data set CXASTAGE.STAGING_TABLE has . observations and 1 variables.
ERROR: ERROR: ERROR: ORACLE execute error: ORA-01438: value larger than specified precision allowed for this column.
With this error, the error limit (1) that is set by the ERRLIMIT= option has been reached. When this happens, any rows that are processed after the last COMMIT are lost.
You can prevent this problem by using cleansing code, as follows:
- Open the cxa_clean_session_fact.sas file, which resides in the following locations:
- Microsoft Windows operating environments: !SASROOT\cxasvr\ucmacros
- UNIX operating environments: !SASROOT/ucmacros/cxasvr
- Add the following code to cxa_clean_session_fact.sas:
if CCXASTAGE.STAGING_TABLE > 999999999 then CXASTAGE.STAGING_TABLE=999999999
- Run the ETL_Reset job.
- Rerun the ETL flow.
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 Experience Analytics | Microsoft® Windows® for x64 | 6.1 | | | |
64-bit Enabled AIX | 6.1 | | | |
64-bit Enabled Solaris | 6.1 | | | |
Linux for x64 | 6.1 | | | |
Solaris for x64 | 6.1 | | | |
*
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: | 2015-08-06 11:50:45 |
Date Created: | 2015-07-29 08:58:31 |