Problem Note 35772: The PROMOTE_SCENARIOS macro in SASĀ® Anti-Money Laundering might generate a constraint error when the macro is invoked twice
The PROMOTE_SCENARIOS macro might fail for all Database Management Systems (DBMS) when an Advanced Routing Rule is being promoted and the macro is executed twice.
This is due to the constraints that are placed on the Fsk_Routing_Rule and Fsk_Routing_Constraint tables.
The PROMOTE_SCENARIOS macro is deleting rows from the Fsk_Routing_Rule table prior to deleting referenced rows in the Fsk_Routing_Constraint table.
This action violates the following reference
index constraint imposed on the two tables.
alter table amlctr.fsk_routing_constraint
add constraint r_55 foreign key
(routing_group_id,routing_rule_id,segment_id) references
amlctr.fsk_routing_rule(routing_group_id,routing_rule_id,segment_id)
on delete restrict
on update restrict
Select the Hot Fix tab in this note to access the hot fix for this issue.
The fix contains code that has been changed to delete rows from the Fsk_Routing_Constraint table first, then delete rows from the Fsk_Routing_Rule table.
This prevents the constraint error from occurring when the macro is executed twice.
Operating System and Release Information
SAS System | SAS Anti-Money Laundering | Microsoft Windows 2000 Advanced Server | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Datacenter Server | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Server | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Professional | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows NT Workstation | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Datacenter Edition | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Enterprise Edition | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Standard Edition | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows XP Professional | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Windows Vista | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
64-bit Enabled AIX | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
64-bit Enabled HP-UX | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
64-bit Enabled Solaris | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Linux | 2.1 | 2.2.1 | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
*
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.
The PROMOTE_SCENARIOS macro might fail for all DBMS when an Advanced Routing Rule is being promoted and the macro is executed twice. This is due to the constraints placed on the Fsk_Routing_Rule and Fsk_Routing_Constraint tables.
Type: | Problem Note |
Priority: | low |
Date Modified: | 2009-08-11 11:44:35 |
Date Created: | 2009-05-01 16:50:22 |