I am a newbie to SAS. I have around 100 observations in a variable and i want to take them into macro variable. And then i want to use one name at a time with the loop. That means i am using loop in macro so i use name1 in 1 iteration, then name2 in 2 iteration and name3 in 3rd iteration and so on. For ex: variable Name have 5 names Smith John Sam Michael Chen. When i run macro with parameter name and loop it for five iteration. Then it should take Smith in one iteration and John in second. Thanks in advance.
... View more