Thanks. I still do not get where "source", from your code below, is from, and how I should replace it. I understand there are two options, one is macro code, that I will be working on, and this solution as well. I do not know what 'source' means in your code, this is why I provided my sample dataset. I do not understand how to use "indsname" and I do not know where 'source' is from. that is hard for me to learn. Would you please give me a sas code, based on my sample dataset, so that I can understand how to use "indsname" indsname
... View more