BookmarkSubscribeRSS Feed
JeroenJeurissen
SAS Employee

Hi all,

I am running a stored process from within Enterprise Guide with a lot of parameters(prompts).

My question is, is it possible to somehow give these prompts initial values (not default values), by loading them from a text file for instance.

I would like to re-run the stored process with the same parameter values that I used in the past, without manually selecting them all (There are 30 values to be selected).

Regards Jeroen

5 REPLIES 5
ghastly_kitten
Fluorite | Level 6

It's possible, you just need to organize a dump of your parameters.

Most of prompts has an option "Method of populating".

If you chose "User chose from dynamic list" from a select window the Data source option row will appear.

You can choose a SAS Data set from there and a column where to get values from.

Unfortunately you'll need to do it for each type of parameter.

JeroenJeurissen
SAS Employee

Hi ghastly_kitten,

Thanks for your answer, I could see it working by making sure that the data source would have only one value (The one with my initial value).

But would this also work for numeric prompts?

And if I would like to give the user the option of changing the value for a list prompt, how would that work. Is it possible to dynaically define the default value for a dynamic list?

Thanks Jeroen


ghastly_kitten
Fluorite | Level 6

Unfortunately (again), I can't check my guesses about it, since I don't have the SAS BI infrastracture and metadata server, so it's impossible for me to use dynamically generated lists.

I'm quite sure the default value will be the first row in the list.

I think you can send this question to SAS Support (the submit a problem report link below).

If you'll get succeed with it, let the community know Smiley Happy

ghastly_kitten
Fluorite | Level 6

upd!

There's already a ticket in SASWare Ballot:

https://communities.sas.com/ideas/1050


You can vote for it

JeroenJeurissen
SAS Employee

Hi Ghastly_Kitten,

I did try it out. I updated the dynamic table with only the value that I wanted. Enterprise Guide will show a dropdown box with nothing selected initially; if you open the list you will only see that value that exists in the table. So that means you still have to click 30 times, but you don't have to think Smiley Happy.

Another problem is that several users could potentially run the same stored process with different values. So a real solution should be on the client side and not on the server side.

Thanks again for your answers


SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1795 views
  • 3 likes
  • 2 in conversation