Creates match codes and optional cluster numbers for an input variable.
groups CRITERIA statements to constrain the assignment of cluster numbers.
Default | 1 |
Restriction | If you specify a value for the MATCHCODE= option in the DQMATCH procedure, and you specify more than one CONDITION= value, SAS generates an error. To prevent the error, specify the MATCHCODE= option in CRITERIA statements only. |
Note | If you have not assigned a value to the CLUSTER= option
in the DQMATCH procedure, cluster numbers are assigned to a variable
named CLUSTER by default.
|
See | DQMATCHINFOGET Function. |
specifies the name of a variable.
specifies the name of a variable that has been parsed by the DQPARSE function, or contains tokens added with the DQPARSETOKENPUT function.
specifies the name of the character variable that is used to create match codes. If the variable contains delimited values, use the DELIMSTR= option.
Restrictions | The values of this variable cannot contain delimiter added with the DQPARSE function or the DQPARSETOKENPUT function. |
You cannot specify the DELIMSTR= option and the VAR= option in the same CRITERIA statement. | |
See | DQPARSE Function for additional information. |
DQPARSETOKENPUT Function for additional information. |
assigns a cluster number.
assigns a cluster number based on an exact character match between values.
Restriction | If you specify the EXACT= option, you cannot specify the MATCHDEF= option, the MATCHCODE= option, or the SENSITIVITY= option. |
specifies the match-definition that is used to create the match code for the specified variable.
Restrictions | The match-definition must exist in the locale that is specified in the LOCALE= option of the DQMATCH procedure. |
If you specify the MATCHDEF= option, you cannot specify the EXACT option, the MATCHCODE= option, or the SENSITIVITY option. |
Default | If the CLUSTER= option has not been assigned a variable in the DQMATCH procedure, then cluster numbers are assigned to the variable named CLUSTER. |
Restriction | If you specify the MATCHCODE= option in the DQMATCH procedure, the match–code is a composite of the exact character-value and the match code that is generated by the match-definition. |
specifies the name of the variable that receives the match codes for the character variable that is specified in the VAR= option or the DELIMSTR= option.
Restrictions | The MATCHCODE= option is not valid if you also specify the MATCHCODE= option in the DQMATCH procedure. |
If you are using multiple CRITERIA statements in a single procedure step, either specify the MATCHCODE=character-variable in each CRITERIA statement or generate composite matchcodes by specifying the MATCHCODE= option only in the DQMATCH procedure. |
determines the amount of information in the resulting match codes. Higher sensitivity values create match codes that contain more information about the input values. Higher sensitivity levels result in a greater number of clusters, with fewer values in each cluster.
Default | The default value is 85. |