In the first table I have defined field 'TBL_1_Door_Number' as TEXT, Sensitivity=85.
In the second table I have defined field "TBL_2_Door_Number" the same way as in the first table.
After that I am generating matching codes based on those fields and joining the result in one table.
Although the definition is same these two fields from different tables generate DIFFERENT MATCHING CODES for SAME values.
For example, the text value '5' in the first table generates the matching code 'H$$$$$$$$$$$$$$' and the same text value in the second table generates the matching code '5$$$$$$$$$$$$$$'.
Can anyone give me an explanation why the software generates different matching codes for the same values?
Show code and log, please. And some test data (in the form of data steps with cards) to illustrate and repeat your problem in our local environments.
you will find in the attachment the data jobs and data sample (extracted from MS SQL Server).
(since I am completely new to SAS tool, I would also appreciate any other advice you can give me, for example regarding the data jobs I made in order to merge the addresses: is it the correct way to do it etc.)
loking forward to your reply.
UPDATE:
additionaly, i do not understand how software for the field value '5' generates matching code '5$$$$$$$$$$$$$$', but for field values '8' and '2' generates matching codes 'D$$$$$$$$$$$$$$' and 'H$$$$$$$$$$$$$$' respectively. Shouldn't the software for falues '8' and '2' generate '8$$$$$$$$$$$$$$' and '2$$$$$$$$$$$$$$' respectively?
I got the same results by changign sensitivity from 85 -> 95%.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.