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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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