Populations and Controls

Populations and Controls

FILTER_SEARCHVALUES Control

FILTER_SEARCHVALUES Control

Use the FILTER_SEARCHVALUES control to specify a list of values to match with the data in the Search Data field, File Data field, or both the fields. Use the Filter purpose to specify the data in the Search Data and File Data fields.
The FILTER_SEARCHVALUES control uses the following format to specify a list of search values:
PURPOSE=(Filter<Filter Purpose Number>,...) FILTER_SEARCHVALUES=<Filter Purpose Number>,<List of Flags>,(<List of Values>)|{<Value>,(<List of Values>)}
For example:
PURPOSE=(Filter2 AND Filter3) FILTER_SEARCHVALUES=2,SP,(WILLIAM,BILL),3,FP,{ROBERT,(ROB,ROBBIE)}
The FILTER_SEARCHVALUES control uses the following parameters:
Filter Purpose Number
Indicates the Filter purpose number for which you define a list of values.
For example, if you use the Filter5 purpose to specify the search data, use 5 as the Filter purpose number.
(List of Values)|{Value,(List of Values)}
Indicates the list of values to match with the search data, file data, or both. You can specify a list of values, or you can pair a value with a list of values.
For example:
FILTER_SEARCHVALUES=2,SP,(WILLIAM,BILL),3,FP,{ROBERT,(ROB,ROBBIE)}
Use appropriate flags to indicate whether to match the specified values with the search data, file data, or both.
List of Flags
Indicates whether to match the specified values with the search data, file data, or both. You can use multiple flags. For example, FP.
If you specify a list of values, you can use the following flags:
  • S. Indicates to match the values with the search data.
  • F. Indicates to match the values with the file data.
  • B. Indicates to match the values with both the search and file data.
  • P. Indicates to match the values in the list with the search data, file data, or both based on the length of the values in the list. This flag functions in conjunction with other flags.
    For example, specify
    FILTER_SEARCHVALUES=2,SP,Rob
    as one of the SCORE-LOGIC controls and
    *Filter2*Rose***
    in the search data. The length of
    Rob
    is three characters, so the matching considers only the first three characters of the search data. The matching does not return 100% score because
    Rob
    in the list does not exactly match with the first three characters of the search data, which are
    Ros
    .
If you pair a value with a list of values, you can use the following flags:
  • S. Indicates to match the value with the search data and the list of values with the file data.
  • F. Indicates to match the value with the file data and the list of values with the search data.
  • P. Indicates to match the values in the list with the search data, the file data, or both based on the length of the values in the list. This flag functions in conjunction with other flags.
    For example, the
    FILTER_SEARCHVALUES=3,S,{ROBERT,(ROB,ROBBIE)}
    control indicates to match
    Robert
    with the search data and the list of values,
    Rob and Robbie
    , with the file data.
You can also perform inexact matching to get 100% score if the list values do not match with the search or file data.
To perform inexact matching, use the following format when you define the Filter purpose:
PURPOSE=(NOT Filter<Number>, NOT Filter<Number>,...)
The usage of NOT indicates that you want to perform inexact matching. For example, the
PURPOSE=(NOT Filter2) FILTER_SEARCHVALUES=2,SP,(WILLIAM,BILL)
expression returns 100% score if the list values do not match with the search data.

0 COMMENTS

We’d like to hear from you!