Thanks for your reply but you did not understand my question. I want to create macro and want to pass all the accounts through macro. And i know proc sql query.
So please provide a little more information ... what is this macro supposed to do? Can you show, as an example, non-macro code that works for one account number?
Please explain what you are trying to do (the larger picture). Explain in more detail what do you want this macro to do? How does being able to do that help with the larger problem?
Catch up on SAS Innovate 2026
Dive into keynotes, announcements and breakthroughs on demand.