Problem Note 63359: You see warnings about differing field lengths for ACTUAL_VALUES_TEXT and PRIMARY_ENTITY_NUMBER variables after you run the alert generation process
You might see the following warning messages after you run the %FCF_COMBINE_ALERTS macro for the alert generation process (AGP) in SAS® Anti-Money Laundering:
WARNING: Multiple lengths were specified for the variable PRIMARY_ENTITY_NUMBER by input data set(s). This can cause truncation of data.
WARNING: Multiple lengths were specified for the variable ACTUAL_VALUES_TEXT by input data set(s). This can cause truncation of data.
Instead of using the length that the FSK_ALERT database table specifies for these fields, the %FCF_AGP_CODEGEN macro forces the variables to have the lengths $512 and $max_entity_length. This setting causes the warning messages that you see after running the rest of the AGP. However, the warnings do not affect the process and it completes as expected.
The max_entity_length setting is defined in the ruleconf.xml file. The file is located here:
Config\Lev1\Applications\SASComplianceSolutions\data\scenario\xml\
Workaround
If you want to remove the warning messages from the log, use the SAS system option VARLENCHK and set its value to nowarn before calling %fcf_combine_alerts. You can reset the value for the option to warn after the call to %FCF_COMBINE_ALERTS.
Here is an example:
options varlenchk=nowarn;
/*--Combine alerts--*/
%fcf_section_header(Section=AGP_COMBINE_ALERTS);
%fcf_combine_alerts(inlib=STG_ALER,
outLib=STG_ALER,
outDS=combined_alerts,
outRiskLib=STG_ALER,
outRiskDS=risk_factor_alerts);
%if &trans_rc eq 3 or &trans_rc ge 5 %then %do;
%goto MACRO_END;
%end;
%fcf_section_footer(Section=AGP_COMBINE_ALERTS);
options varlenchk=warn;
For more information about this option, see SAS 9.4 System Options: Reference, Fifth Edition.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Anti-Money Laundering | Linux for x64 | 6.3 | | 9.4 TS1M2 | |
64-bit Enabled Solaris | 6.3 | | 9.4 TS1M2 | |
64-bit Enabled AIX | 6.3 | | 9.4 TS1M2 | |
Microsoft® Windows® for x64 | 6.3 | | 9.4 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: | medium |
Date Modified: | 2019-01-22 13:29:16 |
Date Created: | 2018-12-11 10:32:47 |