<?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 How do you use a prompt for multiple values in a stored process? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-use-a-prompt-for-multiple-values-in-a-stored-process/m-p/234026#M42766</link>
    <description>&lt;P&gt;I have a stored process I am using to allow uses to pull their own report through the AMO add-on and am having difficulty allowing them to choose multiple people from a list when using a prompt in a stored process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as an example the prompt request an associate or multiple associates to be chosen from a drop down list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bob Smith&lt;/P&gt;&lt;P&gt;Jane Doe&lt;/P&gt;&lt;P&gt;John Doe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;One or all may be chosen.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;How do I include this prompt in a stored process?&amp;nbsp; I know using SAS Enterprise guide it uses the following:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;WHERE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;&lt;FONT size="3"&gt;&lt;FONT size="3"&gt;%&lt;STRONG&gt;&lt;I&gt;_eg_WhereParam&lt;/I&gt;&lt;/STRONG&gt;( t1.AnalystIDCM, Analyst, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="3"&gt;&lt;FONT color="#0000ff" size="3"&gt;&lt;FONT color="#0000ff" size="3"&gt;IN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&lt;FONT size="3"&gt;, TYPE=S, IS_EXPLICIT=&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" size="3"&gt;&lt;FONT color="#008080" size="3"&gt;&lt;FONT color="#008080" size="3"&gt;0&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="3"&gt;&lt;FONT size="3"&gt; )&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" face="times new roman,times"&gt;however this does not work in a stored process.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" face="times new roman,times"&gt;Thank you for any help in advance.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2015 15:11:42 GMT</pubDate>
    <dc:creator>hwilson</dc:creator>
    <dc:date>2015-11-10T15:11:42Z</dc:date>
    <item>
      <title>How do you use a prompt for multiple values in a stored process?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-use-a-prompt-for-multiple-values-in-a-stored-process/m-p/234026#M42766</link>
      <description>&lt;P&gt;I have a stored process I am using to allow uses to pull their own report through the AMO add-on and am having difficulty allowing them to choose multiple people from a list when using a prompt in a stored process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as an example the prompt request an associate or multiple associates to be chosen from a drop down list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bob Smith&lt;/P&gt;&lt;P&gt;Jane Doe&lt;/P&gt;&lt;P&gt;John Doe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;One or all may be chosen.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;How do I include this prompt in a stored process?&amp;nbsp; I know using SAS Enterprise guide it uses the following:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;WHERE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="times new roman,times"&gt;&lt;FONT size="3"&gt;&lt;FONT size="3"&gt;%&lt;STRONG&gt;&lt;I&gt;_eg_WhereParam&lt;/I&gt;&lt;/STRONG&gt;( t1.AnalystIDCM, Analyst, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="3"&gt;&lt;FONT color="#0000ff" size="3"&gt;&lt;FONT color="#0000ff" size="3"&gt;IN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&lt;FONT size="3"&gt;, TYPE=S, IS_EXPLICIT=&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" size="3"&gt;&lt;FONT color="#008080" size="3"&gt;&lt;FONT color="#008080" size="3"&gt;0&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="3"&gt;&lt;FONT size="3"&gt; )&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" face="times new roman,times"&gt;however this does not work in a stored process.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" face="times new roman,times"&gt;Thank you for any help in advance.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 15:11:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-use-a-prompt-for-multiple-values-in-a-stored-process/m-p/234026#M42766</guid>
      <dc:creator>hwilson</dc:creator>
      <dc:date>2015-11-10T15:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use a prompt for multiple values in a stored process?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-use-a-prompt-for-multiple-values-in-a-stored-process/m-p/234045#M42772</link>
      <description>&lt;P&gt;The &lt;FONT face="times new roman,times"&gt;&lt;FONT size="3"&gt;%&lt;STRONG&gt;&lt;I&gt;_eg_WhereParam&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt; macro is not an autocall macro, therefor it is not available by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the source code of this macro, do the follwoing:&lt;/P&gt;
&lt;P&gt;create a multiple value parameter in SAS Enterprise Guide&lt;/P&gt;
&lt;P&gt;use the parameter in a query&lt;/P&gt;
&lt;P&gt;export the code using File -&amp;gt; Export -&amp;gt; Export all code in process flow&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will also add the source code for &lt;FONT face="times new roman,times"&gt;&lt;FONT size="3"&gt;%&lt;STRONG&gt;&lt;I&gt;_eg_WhereParam&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 16:07:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-use-a-prompt-for-multiple-values-in-a-stored-process/m-p/234045#M42772</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2015-11-10T16:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use a prompt for multiple values in a stored process?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-use-a-prompt-for-multiple-values-in-a-stored-process/m-p/234097#M42782</link>
      <description>&lt;P&gt;That worked perfectly!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 19:14:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-use-a-prompt-for-multiple-values-in-a-stored-process/m-p/234097#M42782</guid>
      <dc:creator>hwilson</dc:creator>
      <dc:date>2015-11-10T19:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use a prompt for multiple values in a stored process?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-use-a-prompt-for-multiple-values-in-a-stored-process/m-p/234252#M42822</link>
      <description>&lt;P&gt;Please mark the discussion as answered, so others will know this question has an answer. This helps greatly when searching for topics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 18:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-use-a-prompt-for-multiple-values-in-a-stored-process/m-p/234252#M42822</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2015-11-11T18:09:50Z</dc:date>
    </item>
  </channel>
</rss>

