<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multi select prompt in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Multi-select-prompt/m-p/57433#M3062</link>
    <description>Yes, you can create a multi-value parameter in SAS 9.1.  Using SAS Enterprise Guide 4.1, the steps are as follows:&lt;BR /&gt;
&lt;BR /&gt;
1. In the Stored Process Wizard, click &lt;B&gt;Add &amp;gt; New Parameters&lt;/B&gt; to open the &lt;B&gt;Add Parameters&lt;/B&gt; dialog.&lt;BR /&gt;
&lt;BR /&gt;
2. Give the parameter a name and label.  For example, name it MULTI.&lt;BR /&gt;
&lt;BR /&gt;
3. Click the &lt;B&gt;Constraints&lt;/B&gt; tab.  Type in the display and return values.  For example, "A", "B", and "C".  Click the &lt;B&gt;Allow multiple selections&lt;/B&gt; radio button.  Optionally, specify the minimum and maximum number of selections allowed.&lt;BR /&gt;
&lt;BR /&gt;
4. Click &lt;B&gt;Finish&lt;/B&gt;.&lt;BR /&gt;
&lt;BR /&gt;
There are some difference between SAS 9.1 and SAS 9.2.&lt;BR /&gt;
&lt;BR /&gt;
In SAS 9.1, multi-value prompts are generally not supported by the SAS Workspace server&lt;BR /&gt;
(see &lt;A href="http://support.sas.com/kb/31/155.html)" target="_blank"&gt;http://support.sas.com/kb/31/155.html)&lt;/A&gt;.&lt;BR /&gt;
&lt;BR /&gt;
In SAS 9.1, the values are returned according to how they are ordered in the list, but in SAS 9.2, they are returned in the order selected.&lt;BR /&gt;
&lt;BR /&gt;
For example, if the items in the list are entered as "A", "B", and "C", and you choose "C", and then "A", you get these results:&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;SAS 9.1&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
MULTI1=A&lt;BR /&gt;
MULTI2=C&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;SAS 9.2&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
MULTI1=C&lt;BR /&gt;
MULTI2=A	&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
    <pubDate>Tue, 16 Feb 2010 14:08:41 GMT</pubDate>
    <dc:creator>Vince_SAS</dc:creator>
    <dc:date>2010-02-16T14:08:41Z</dc:date>
    <item>
      <title>Multi select prompt</title>
      <link>https://communities.sas.com/t5/Developers/Multi-select-prompt/m-p/57432#M3061</link>
      <description>Hi there&lt;BR /&gt;
&lt;BR /&gt;
I have a little problem because I use a 9.2 EBI environment and a client needs me on a EG 4.1 stored process course.&lt;BR /&gt;
&lt;BR /&gt;
I have a little question about the prompt and I cannot test : In EG 4.2 I can create a SP with a prompt that let the possibility to the user to select multiple values at the beginning on the list provided. With these selection the query will send the results.&lt;BR /&gt;
&lt;BR /&gt;
Is it possible to define a multi select prompt in a SP with EG 4.1 (ie. a 9.1 environment) ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help.&lt;BR /&gt;
&lt;BR /&gt;
Stéphane.</description>
      <pubDate>Mon, 15 Feb 2010 20:53:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Multi-select-prompt/m-p/57432#M3061</guid>
      <dc:creator>Stephane</dc:creator>
      <dc:date>2010-02-15T20:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multi select prompt</title>
      <link>https://communities.sas.com/t5/Developers/Multi-select-prompt/m-p/57433#M3062</link>
      <description>Yes, you can create a multi-value parameter in SAS 9.1.  Using SAS Enterprise Guide 4.1, the steps are as follows:&lt;BR /&gt;
&lt;BR /&gt;
1. In the Stored Process Wizard, click &lt;B&gt;Add &amp;gt; New Parameters&lt;/B&gt; to open the &lt;B&gt;Add Parameters&lt;/B&gt; dialog.&lt;BR /&gt;
&lt;BR /&gt;
2. Give the parameter a name and label.  For example, name it MULTI.&lt;BR /&gt;
&lt;BR /&gt;
3. Click the &lt;B&gt;Constraints&lt;/B&gt; tab.  Type in the display and return values.  For example, "A", "B", and "C".  Click the &lt;B&gt;Allow multiple selections&lt;/B&gt; radio button.  Optionally, specify the minimum and maximum number of selections allowed.&lt;BR /&gt;
&lt;BR /&gt;
4. Click &lt;B&gt;Finish&lt;/B&gt;.&lt;BR /&gt;
&lt;BR /&gt;
There are some difference between SAS 9.1 and SAS 9.2.&lt;BR /&gt;
&lt;BR /&gt;
In SAS 9.1, multi-value prompts are generally not supported by the SAS Workspace server&lt;BR /&gt;
(see &lt;A href="http://support.sas.com/kb/31/155.html)" target="_blank"&gt;http://support.sas.com/kb/31/155.html)&lt;/A&gt;.&lt;BR /&gt;
&lt;BR /&gt;
In SAS 9.1, the values are returned according to how they are ordered in the list, but in SAS 9.2, they are returned in the order selected.&lt;BR /&gt;
&lt;BR /&gt;
For example, if the items in the list are entered as "A", "B", and "C", and you choose "C", and then "A", you get these results:&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;SAS 9.1&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
MULTI1=A&lt;BR /&gt;
MULTI2=C&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;SAS 9.2&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
MULTI1=C&lt;BR /&gt;
MULTI2=A	&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Tue, 16 Feb 2010 14:08:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Multi-select-prompt/m-p/57433#M3062</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-02-16T14:08:41Z</dc:date>
    </item>
  </channel>
</rss>

