Thanks for the reply Quentin, however, what I posted was the Symbolgen output of resolution of ampersands in the log. %put &&&&&varun&m2&m3 1. && resolves to & 2. && resolves to & (at this stage we have three &'s in front of varun) 3. && resolves to & (at this stage we have two &'s in front of varun) 4. && resolves to & (at this stage we have one & in front of varun) 5. m2 resolves to y 6. m3 resolves to z 7. varunyz not resolved Statements 1 to 7 are the ones written in the log by symbolgen which suggest that in the first pass amp#1, amp#2 get resolved to one amp; amp#3, amp#4 get resolved to one amp. Now according to your explanation, amp#5 should have tried resolving varun, however, it doesn't and no message is printed for it. Instead, it resolves the resulting ampersands before it could approach resolving m2 and m3. Many thanks Cynthia, I will read all the documentation and posts that you suggested. I have been using symbolgen, MPRINT and MLOGIC in my macro programming, however, was just intrigued by the logic behind the multiple scanning resolution. A common usage wont let me go beyond &&var&i, however, I was just chasing this from a learning point of view. Thanks all
... View more