Problem Note 59994: Refreshing the SAS® Marketing Optimization input data no longer refreshes the metadata in SAS® Marketing Optimization 6.1 or later
For SAS Marketing Optimization 6.1 or later, metadata is no longer refreshed automatically when you refresh SAS Marketing Optimization input data and the underlying data has changed.
When this problem occurs, the following error is generated in the application:
In addition, the following error appears in the SASMarketingOptimizationdate_x.log file that is located in the SAS-configuration-directory\Lev1\Applications\SASCustomerIntelligence\MarketingOptimization\Logs directory:
ERROR: Variable NEW_risk is not on file CMCUST.CUSTOMER_DATA.
MPRINT(MO_CHECK_INPUT_DATA_METADATA): run;
ERROR:(mo_check_input_data_metadata) 11:31:43 Table metadata check failed for
table = CUSTOMER_DATA, library metadata ID =
This problem happens because, starting with SAS Marketing Optimization 6.1, a new macro was introduced to verify that metadata matches the physical table. Adding columns is okay, but not the removal or renaming of a column.
As a workaround, you can use either SAS® Management Console or SAS® Enterprise Guide® to refresh the metadata before you refresh the input data for SAS Marketing Optimization.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Note: After you apply the hot fix, the behavior for refreshing SAS Marketing Optimization input data is as follows:
- Adding a new column: Uploading the input data automatically registers the table in metadata so that the new column is included.
- Removing a column that has NOT been selected as a customer attribute: Uploading the input data automatically registers the table in metadata so that the deleted column is no longer included.
- Removing a column that has been selected as a customer attribute: Uploading the input data automatically registers the table in metadata. However, errors still appear in the user interface because this data is treated like it is a new column.
- Renaming a column that has NOT been selected as a customer attribute: Uploading the input data automatically registers the table in metadata so that the renamed column is included. The old name is no longer available.
- Renaming a column that has been selected as a customer attribute: Uploading the input data automatically registers the table in metadata. However, errors still appear in the user interface because this data is treated like it is a new column.
Operating System and Release Information
SAS System | SAS Marketing Optimization | Microsoft® Windows® for x64 | 6.1_M1 | | 9.3 TS1M2 | |
64-bit Enabled AIX | 6.1_M1 | | 9.3 TS1M2 | |
64-bit Enabled HP-UX | 6.1_M1 | | 9.3 TS1M2 | |
64-bit Enabled Solaris | 6.1_M1 | | 9.3 TS1M2 | |
HP-UX IPF | 6.1_M1 | | 9.3 TS1M2 | |
Linux for x64 | 6.1_M1 | | 9.3 TS1M2 | |
Solaris for x64 | 6.1_M1 | | 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: | high |
Date Modified: | 2017-06-02 09:59:29 |
Date Created: | 2017-02-17 12:00:58 |