BookmarkSubscribeRSS Feed
Filipvdr
Pyrite | Level 9

Hello,

 

We have a stored process which will upload a table to LASR VA. 

 

To make it more easier for end-users in SAS Eguide we want to use the input, so the user does not have to fill in a lot of prompts.

 

For example if the table is called work.FINDINGS_2018 we want FINDINGS_2018 to be filled in in a field/prompt already, the user can overwrite it in the prompt but it's filled in already by default. Maybe we can work with &syslast or any other ideas? Can this be done in Eguide with a stored process? 

 

I also sas the task templates but this seems more difficult.

 

Filip

5 REPLIES 5
FredrikE
Rhodochrosite | Level 12

Can you do the other way, i.e if the prompt is blank you use the default (in your code) and if it has a value you use this instead?

//Fredrik

Filipvdr
Pyrite | Level 9
This could be a solution, but more difficult for users to understand. Most user-friendly way would be that it would be filled in.
Filipvdr
Pyrite | Level 9

Ok thanks, it confirms my thoughts.

 

Any workarounds or ideas? Or the only way is to create a custom task template?

Kurt_Bremser
Super User

Since you can create a prompt that lets you select values form a list, and that list can be dynamic (read from a dataset), you can try the following:

  • create a dataset with a properly defined column for dataset names (8+1+32=41 characters)
  • register the dataset in metadata
  • create prompt that reads values from the dataset, but also allows the user to enter values not in the list
  • write one or more dataset names to the dataset at runtime before the STP is called

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