Your SAS programs, embedded in web apps and elsewhere

Reading multiple selections for a parameter

Reply
N/A
Posts: 0

Reading multiple selections for a parameter

Using the parameter manager, I can create a parameter that allows for multiple selection. If &var is the variable that's attached to the parameter, and the user selected both "A" and "B", then
&var = "A", "B"

But, if I were to create a parameter under storec process that allows for multiple selection, then &var would only resolve to "A".

Am I doing something wrong or is this a known bug?

I am using SAS 9.1 and EG 9.1.
SAS Super FREQ
Posts: 8,866

Re: Reading multiple selections for a parameter

Posted in reply to deleted_user
Hi:
Look at pages 12-14 of this paper:
http://www2.sas.com/proceedings/forum2008/024-2008.pdf

for an example of multiple-selections with a stored process. That paper was written using SAS 9.1 and the BI Platform. The EG parameter manager was NOT used to define the stored process parameters -- this stored process was defined and registered directly in the metadata using SAS Management Console.

cynthia
N/A
Posts: 0

Re: Reading multiple selections for a parameter

Posted in reply to Cynthia_sas
Thanks for answering my question Cynthia. Is there anyway of creating a backup of a stored process?
Super Contributor
Posts: 345

Re: Reading multiple selections for a parameter

Posted in reply to deleted_user
In the SAS-Management-Console you can export a Stored Process. This step creates a SAS Package file (name ends with spk) containg code and underlying external objects stored in WebDAV.
Ask a Question
Discussion stats
  • 3 replies
  • 182 views
  • 0 likes
  • 3 in conversation