Desktop productivity for business analysts and programmers

Prompt user for parameters.

Reply
New Contributor
Posts: 2

Prompt user for parameters.

Hi,
Is there a way to prompt the user to enter parameters in SAS/EG without using Stored Processes (we have no metatdata repository defined yet) and without using a query?
I have a report which I built using the coding window that I want to hand over to a user to run, but don't want him to have to change the macro variable paramteters manually.
Thanks.
Community Manager
Posts: 2,696

Re: Prompt user for parameters.

It just so happens that this exact feature is coming in Enterprise Guide 4.1, to be released Very Soon Now. You can define parameters at the project level and associate them with queries, tasks, and even your own SAS programs. When you run these items, EG will present a prompt for all of the applicable parameters.

And when we say "parameters", we're just using a fancy term for SAS macro variables -- so the mechanism should be very familiar to you.

Chris
N/A
Posts: 0

Re: Prompt user for parameters.

I'm looking forward to this feature. I think it will be of particular use when sharing projects between individuals, or deploying some analysis methodology to a group (stored processes are not (yet?) flexible enough to avoid having to send someone your .egp file).

What you also need to be able to do, however, is set a project to be Read Only.

Is that in 4.1 (or even have I missed it in 3.1)?
N/A
Posts: 0

Re: Prompt user for parameters.

Can user be prompt for parameters even when the project is run as a scheduled project ?

Isa
N/A
Posts: 0

Re: Prompt user for parameters.

I'm not sure why you would want prompting for a scheduled project.

Surely if it is scheduled, it is intended that it will run at a given time, at which time there may not be someone present.

I use scheduling to get work done during quiet hours, to spread out the workload across the whole day. If it prompts at 2am, who will be there to see it?

Have I missed the point of your question?

Kind regards

David
N/A
Posts: 0

Re: Prompt user for parameters.

I know my request might sound strange in the context you presented.

I am using the scheduler in an other context, which is to replicate a "batch submit" in traditional SAS. The reasoning for this utilisation is to get a date/time stamp for my logs and output that does reflect run time instead of start of EG session. Therefore, someone will be sitting at the PC when the sas project actually runs.

Perhaps an option could be set-up to choose weither to prompt or not, with default set as No.

I guess its not present in the current version...

Thanks for helping my clarifying my question

Isa
Community Manager
Posts: 2,696

Re: Prompt user for parameters.

Regarding "read-only projects"...

If you protect the EGP file using the file system (make it read-only, or store it in a location where those who access it cannot write to), then the project is - in a sense - read-only.

You can run the project (which modifies it with updated results) and add tasks/etc, but you cannot overwrite the original EGP file.

If you're looking for a "browse-only" mode, where you can only look at the contents of a project but not add or run anything, EG doesn't have that. We would be interested in hearing whether there is interest in that and how you would use it.

Chris
N/A
Posts: 0

Re: Prompt user for parameters.

SGF work kept me from reading this earlier Chris.

I think a browse-only mode would be useful where a project is used to build compliance reporting which has to be locked at a given date.

Kind regards

David
Ask a Question
Discussion stats
  • 7 replies
  • 188 views
  • 0 likes
  • 3 in conversation