Desktop productivity for business analysts and programmers

Prompt for parameters without using query

Reply
N/A
Posts: 0

Prompt for parameters without using query

Is it possible to prompt for parameters without using a query step? I want to prompt for parameters then use the parameters in a code node that runs a pass through sql query. I've been trying to figure this out for weeks.
N/A
Posts: 0

Re: Prompt for parameters without using query

Finally figured it out after weeks of searching. Right click code node and select properties. On the left you will see parameters. This seems to coordinate the code parameters with the parameters created in Parameter manager.
Super Contributor
Super Contributor
Posts: 3,174

Re: Prompt for parameters without using query

BTW, the Google advanced search argument (taken directly from the OP SUBJECT) below yielded a SAS conference paper (link provided) and it specifically mentions the PARAMETERS tab:

eg Prompt for parameters without using query site:sas.com


Data on Demand with Enterprise Guide: A Cheap and Easy Approach to
Real-time Database Access
Richard F. Pless, Ovation Research Group a division of ICON Clinical
http://www2.sas.com/proceedings/forum2007/058-2007.pdf


Scott Barry
SBBWorks, Inc.
N/A
Posts: 0

Re: Prompt for parameters without using query

Thank you for the link, I had seen that one, however I am not finding the section in the paper that shows how to use parameters in a custom code object. I am curious if there is a better way of accomplishing this than the way I did it. It was not intuitive that you must define the parameters once in parameter manager then again in the code object.
SAS Employee
Posts: 149

Re: Prompt for parameters without using query

Bill, I would say the way you did it is the correct solution. Defining the prompt in the prompt manager makes sure that EG has the prompt available for use throughout the project. Getting those values used in the appropriate spot, and getting the appropriate prompt window, comes from associating the prompt with specific tasks, queries, or programs.

I agree it is a little work, but think about how much time you're saving down the road by getting the prompt rather than having to manually edit the code each time!
Ask a Question
Discussion stats
  • 4 replies
  • 115 views
  • 0 likes
  • 3 in conversation