Hi, I am hoping someone can help with request. I need to create (say) 5 tables or data sets, for 5 states - CA, VA, NY, TX and OK Each table has some information based on some criteria (say, name of state and its population). So the table for California looks like CA 34,000,000 I can have a data step to do this, but I want to put the names of states in a marco variable string along with a do loop so that the do loop runs and creates a data step for each state in the macro variable string, for example %LET STATE = CA VA NY TX OK; do loop (CA) followed by do loop VA etc.. Thanks to all who try to help.
... View more