The DQ.PATTERN function
generates a pattern for the input string and outputs the pattern to
a field. The pattern is a simple representation of the characters
in the input string. Such patterns can be used to perform pattern
frequency analysis for a set of text strings.
The function is a member
of the data quality class. A data quality object can be declared as
a variable and must then be initialized through a call to the function
DQ_INITIALIZE. The member function DQ.LOADQKB must then be called
to load the contents of a QKB into memory and link that QKB with the
data quality object. The data quality object then retains information
about the QKB locale setting and the QKB locale setting.
When calling DQ.PATTERN,
you must specify the name of a pattern analysis definition. A pattern
analysis definition is an object in the QKB that contains logic used
to generate a pattern for the input string. Refer to your QKB documentation
for information about which pattern analysis definitions are available
in your QKB.