Hi,
I've created a prompt where the user can choose between 2 options. I was wondering if there is a prompt option where I can give the user two prompts, and if they choose both it will run the code for both of them.
Thanks!
First, I don't see any problem creating two prompts.
Second, could you then use the "Conditional Processing" facility to run whichever programs should be triggered by the prompts?
I have multiple prompts, that isn't the issue. One of the prompts has options X and Y. I want the program to run X and Y if they choose X and Y or just X if they choose X or just Y if they choose Y.
Do you know what macro variables are being created by the prompts, and what their values are?
I created a loop in my code that would check to see how many there are and then determine what to do with the processes.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.