IM Relationship Resolution Information Center, Version 4.2

DQM function 130: Character find and replace

DQM function 130 replaces configured characters with a default replacement character string.

If the DQM rule is configured to correct the configured replacement characters, and they are found in the UMF tag value, then the function replaces the configured characters in parameter 1 with the replacement character string configured in parameter 2. If the correction procedure is not configured to correct an error, the function logs an exception to the UMF_EXCEPT table and does not load the invalid value.

Parameters

List of Symbols:
String of characters to be replaced. If left empty, the function assumes the replacement of spaces (" ").
To replace spaces as well as other characters, the space must be embedded in the other characters ("AB C" or "A A").
Replacement Symbols:
String value to put in place of each string of characters to be replaced.

Exception codes

Exception Code Description Severity*
-1 Configured replacement characters present, but the rule is not configured to perform correction. 3
1 Configured characters have been replaced. 0


Feedback

Last updated: 2009