BookmarkSubscribeRSS Feed
HenriTheuwissen
Calcite | Level 5
Hi,

Does anyone has a good example of creating and using a prompt with a numeric or character range

Regards,

Henri
1 REPLY 1
Cynthia_sas
Diamond | Level 26
In our classes, we frequently show prompts in stored processes or macro coding for numeric ranges of years (want a report where year is between 2005 and 2008 or 2001 and 2005, etc). Or where sales are gt 5000 and lt 10000, etc. Or a day start and day end or time start and time end. (I know that date, day and time aren't only numeric -- but sometimes must be treated a bit differently in the WHERE clause -- which is a teaching opportunity.)

cynthia

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 1046 views
  • 0 likes
  • 2 in conversation