BookmarkSubscribeRSS Feed
pchappus
Obsidian | Level 7

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!

4 REPLIES 4
TomKari
Onyx | Level 15

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?

pchappus
Obsidian | Level 7

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.

TomKari
Onyx | Level 15

Do you know what macro variables are being created by the prompts, and what their values are?

pchappus
Obsidian | Level 7

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.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1109 views
  • 0 likes
  • 2 in conversation