BookmarkSubscribeRSS Feed
sunilreddy
Fluorite | Level 6

Button   Date            status

1.1      03FEB2012     OK

1.1      05MAR2012    SKP

I have above data in SAS dataset. I have a stored process to select the Button(1.1, 1.2, 1.3 etc), if i select any button it needs to validate the data against to month in above table and it should display the status as active or inactive in stored process prompt.

any one can help me in this

1 REPLY 1
Cynthia_sas
SAS Super FREQ

Hi:

  It sounds to me like you are defining a dynamic prompt or building a selection group that will be linked to some kind of macro programming logic in your program. You might want to look in the Stored Process Developer's guide for more information about building dynamic prompts and using selection groups. Here's a place to start:

http://support.sas.com/documentation/cdl/en/stpug/62758/HTML/default/viewer.htm#n04zozyzrfsilkn10wjv...

http://support.sas.com/documentation/cdl/en/stpug/62758/HTML/default/viewer.htm#p01mnxrcktko66n1ihl5...

  Here's a blog about selection groups:

http://blogs.sas.com/content/bi/2009/11/10/using-multiple-selection-prompts-in-sas-stored-process-co...

  Or these papers:

http://support.sas.com/resources/papers/proceedings11/050-2011.pdf

http://support.sas.com/resources/papers/proceedings10/041-2010.pdf

cynthia

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 863 views
  • 0 likes
  • 2 in conversation