Returns a match code from a parsed character value.
Valid in: | DATA step, PROC SQL, and SCL |
Requirement: | If specified, the locale must be loaded into memory as part of the locale list. |
specifies a character constant, variable, or expression that contains the value that is the name of the parsed-definition that is associated with the match definition.
specifies the name of the match definition. The definition must exist in the locale that is used.
specifies an integer value that determines the amount of information in the returned match code. Valid values range from 50 to 95. The default value is 85. A higher sensitivity value inserts more information in the match code. In general, higher sensitivity values result in a greater number of clusters, with fewer members per cluster. Input values must be more similar to receive the same match codes.
specifies a character constant, variable, or expression that contains the locale name.
Default | The default locale is the first locale in the locale list. If no value is specified, the default locale is used. |
data _null_; length nameIndividual matchCode $ 20 parsedName $ 200; nameIndividual='Susan B. Anthony'; parsedName=dqParse(nameIndividual, 'name', 'enusa'); matchCode=dqMatchParsed(parsedName, 'name', 90, 'enusa'); run;