Many thanks Tom for your response. I have one doubt, in the sample code you have mentioned as %let us=1; %let direct=0; %let indirect=0; while runing my code it is picking the condition which is satisfying the first case i.e. US, and same code is getting replicated for direct and indirect also. (It seems values for Direct and Indirect is given as Zero, is that the reason? )whereas I have to pick for all thre conditions i.e. US, Direct, Indirect.. Could you please help me with the proper value.
... View more