Hi Ksharp.. Thanks for your quick response.. When I saw deep into the data, I did find the scenario which you mention: if 16 16 occurs I need the key as 11 and 16 11 occurs as well the key needs to be 11
... View more
ID1 is the master key and values associated with it in ID2 will be linked values. ex : ID1 = 15 and its key is 11 because 15 in ID1 traces back to 12 in ID1 through 15 in ID2 and 12 in ID1 traces back to 11 in ID1 Hence master key for 15 in ID1 will be 11
... View more
I have a table where I have to find the values from each other columns and create a master key My table : ID1 ID2 11 11 11 12 11 13 12 15 12 16 15 17 18 18 18 19 20 21 22 23 22 24 Expected result : ID1 ID2 Key 11 11 11 11 12 11 11 13 11 12 15 11 12 16 11 15 17 11 18 18 18 18 19 18 20 21 20 22 23 22 22 24 22 Key column needs to be generated as shown in column, how do I achieve using SAS EG.
... View more