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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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