SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 35772: The PROMOTE_SCENARIOS macro in SAS® Anti-Money Laundering might generate a constraint error when the macro is invoked twice

DetailsHotfixAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Anti-Money LaunderingMicrosoft Windows 2000 Advanced Server2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Server2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Professional2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows NT Workstation2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise Edition2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Standard Edition2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows XP Professional2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
Windows Vista2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
64-bit Enabled AIX2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
64-bit Enabled HP-UX2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
64-bit Enabled Solaris2.12.2.19.1 TS1M3 SP49.1 TS1M3 SP4
Linux2.12.2.19.1 TS1M3 SP49.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.