WHERE CLIENTS IN ("SECTOR_1","SECTOR_2","SECTOR_3");
Run;
How can I parameterize ("SECTOR_1","SECTOR_2","SECTOR_3")?
I would like to sometimes run it just for SECTOR_1 AND SECTOR_2, and sometimes just SECTOR_3, for example. Is there a way to create a macrovariable with the condition? "CLIENTS IN MACROVARIABLE"
Are you actually replacing the data set DATA_NAME, or what that may represent, multiple times? That likely would not be needed as you can use a where statement in many procedures and a data set option where in others.
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.