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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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