![]() | ![]() | ![]() | ![]() | ![]() |
The Generate Store Groups process might fail due to a duplicate key error in SAS Size Profiling. The following error appears in the stored process log:
ERROR: During insert: [IBM][CLI Driver][DB2/AIX64] SQL0803N One or more values in the INSERT statement, UPDATE statement, or foreign key update caused by a DELETE statement are not valid because the primary key, unique constraint or unique index identified by "1" constrains table "DI_DM.PRF_RSLT_STORE_GROUP_DISTRIB" from having duplicate values for the index key. SQLSTATE=23505 ERROR: ROLLBACK issued due to errors for data set DI_T_DBC.PRF_RSLT_STORE_GROUP_DISTRIB.DATA. NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements. NOTE: The SAS System stopped processing this step because of errors.
To work around the problem, perform the following steps:
INSERT INTO PRF_CONFIG (PRF_CONFIG_SK,PRF_CONFIG_TYPE,SPEC_NM,SPEC_VALUE,SPEC_TYPE) VALUES(-1, 2, 'lrm_handle_missing_predictor', '2', 'INTEGER');
The workaround will prevent stores from being classified into store group 0. Instead, those stores will go to the largest store group.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Size Profiling | Microsoft® Windows® for x64 | 1.2 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Datacenter Edition | 1.2 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 1.2 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 | ||
Microsoft Windows Server 2003 Standard Edition | 1.2 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 | ||
Microsoft Windows XP Professional | 1.2 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 | ||
Windows Vista | 1.2 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 | ||
64-bit Enabled AIX | 1.2 | 2.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |