BookmarkSubscribeRSS Feed
theBIFellow
Calcite | Level 5
Hi All!

I'm quite new to EG and running into some issues while using prompts.

I have two simple text prompts (so far) and both exhibit the same problem. Despite being able to supply multiple options at the prompt it only ever returns the first choice.

So for example at the prompt screen I chose ESP and DEU but it only returns ESP. If I switch the order it only returns DEU. If I add ten options it still only returns the first one.

I've tried a lot of different operators in the Query Builder filter section : equal to, in list, between, in range etc. As you can see, some of these are wildly inappropriate, but this kind of thrashing around is symptomatic of my desperation; I may very well soon begin to cry.

At the moment I'm using "equal to" because this seems the most reasonable choice.

Any ideas?
2 REPLIES 2
yonib
SAS Employee
Hi,
There is a good article call :Interactive and Efficient Macro Programming with Prompts in SAS® Enterprise Guide® 4.2.
In the article, search for MULTIPLE VALUE PROMPTS, you will find exactly what you need.
theBIFellow
Calcite | Level 5
Thanks for that! I'm having a read of that right now:-)

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 2 replies
  • 642 views
  • 0 likes
  • 2 in conversation