The _SCORE_ value that is calculated by PROC GEOCODE might not match the sum of the scores associated with each token that is contained in the _NOTES_ variable.
This issue can occur when the address result is a STREET match and either of the following is true:
To circumvent the issue, use the following code to modify the output data set from PROC GEOCODE to add the CT and ST tokens to the _NOTES_ value so that the sum of the _NOTES_ token values match the _SCORE_ value created by the procedure. The code has these assumptions:
data geocoded;
set geocoded;
if _matched_='Street' then do;
if indexw(_notes_,'NOCTM')=0 and city ne '' then
_notes_=catx(' ',_notes_,"CT");
if indexw(_notes_,'NOSTM')=0 and state ne '' then
_notes_=catx(' ',_notes_,"ST");
end;
run;