BookmarkSubscribeRSS Feed
AdnanH
Calcite | Level 5

Hi,

 

I am using the prompt manager to let the user select a given date. I then take the user input to access files according to the selected date. But the the files are being generated continuously. Instead of going into prompt manager and adding a value manually each time, is there a way to update the prompt values from for an example a sas table?

 

4 REPLIES 4
andreas_lds
Jade | Level 19

This is not possible in one step. You need to register the dataset with the dates in metadata and change the prompt to access a dynamic list. Unfortunately you can't update that dataset automatically each time a user starts the project(flow), you have to move the update to another program and the user must execute that manually. Or you add the update to the process providing the external files (if possible).

Kurt_Bremser
Super User

The prompt manager allows to use dynamic lists for a prompt.

Under "Methods for populating prompt", select "User selects values form a dynamic list". Under Data source, select a dataset (this dataset needs to be registered in metadata).

AdnanH
Calcite | Level 5

Thank for the info. I am quite new to SAS. How do i register the dataset in the metadata?

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
  • 4 replies
  • 1376 views
  • 0 likes
  • 3 in conversation