key variable Stccd_n is long in master but str6 in using datakey variable y is float in master but str10 in using data Each key variable -- the variables on which observations are matched -- must be of the same generic type in the master and using datasets. Same generic type means both numeric or both string.