<?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 Stored Process Prompts - All Possible Values checkbox in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Stored-Process-Prompts-All-Possible-Values-checkbox/m-p/355416#M5365</link>
    <description>&lt;P&gt;How does &lt;STRONG&gt;"all possible values"&lt;/STRONG&gt; work to set the value of the prompt macro variable? I am using prompt values entered by the user to decide&amp;nbsp;an employee ID for example. Does all possible values essentially just remove the filter or does it set some special value that a PROC SQL filter recognizes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the macro variable output in the log I see that _ALL_VALUES_ is set as a value. How does SAS interpret this? I am not getting errors but I am also not getting results in my SQL that looks something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select * From EMPLOYEE&lt;/P&gt;&lt;P&gt;Where EMP_ID = "&amp;amp;employeeid"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-- I select all possible values but I get no result set and no errors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help on how to successfully use All Possible Values? I'm creating my stored process in SAS Enterprise Guide 7.11&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2017 21:57:58 GMT</pubDate>
    <dc:creator>krusader</dc:creator>
    <dc:date>2017-05-02T21:57:58Z</dc:date>
    <item>
      <title>Stored Process Prompts - All Possible Values checkbox</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-Prompts-All-Possible-Values-checkbox/m-p/355416#M5365</link>
      <description>&lt;P&gt;How does &lt;STRONG&gt;"all possible values"&lt;/STRONG&gt; work to set the value of the prompt macro variable? I am using prompt values entered by the user to decide&amp;nbsp;an employee ID for example. Does all possible values essentially just remove the filter or does it set some special value that a PROC SQL filter recognizes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the macro variable output in the log I see that _ALL_VALUES_ is set as a value. How does SAS interpret this? I am not getting errors but I am also not getting results in my SQL that looks something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select * From EMPLOYEE&lt;/P&gt;&lt;P&gt;Where EMP_ID = "&amp;amp;employeeid"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-- I select all possible values but I get no result set and no errors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help on how to successfully use All Possible Values? I'm creating my stored process in SAS Enterprise Guide 7.11&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 21:57:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-Prompts-All-Possible-Values-checkbox/m-p/355416#M5365</guid>
      <dc:creator>krusader</dc:creator>
      <dc:date>2017-05-02T21:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process Prompts - All Possible Values checkbox</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-Prompts-All-Possible-Values-checkbox/m-p/355900#M5366</link>
      <description>&lt;P&gt;Hello Krusader.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can certainly use the below code to get the All Possible values in your output..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my Case I have created Propmt for State Name so you can make the changes accordingly.&lt;/P&gt;&lt;P&gt;( I will have option to select more the one state or can select _ALL_VALUES_ )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; CREATE TABLE WORK.QUERY_FOR_STATEVIEW AS&lt;BR /&gt;&amp;nbsp;&amp;nbsp; SELECT DISTINCT t1.STATE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM SASORCL.SAS_BI_VW_SALESVIEW t1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE %_eg_WhereParam( t1.STATE, state, IN, TYPE=S, IS_EXPLICIT=0 );&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&amp;nbsp; Make sure you are using where clause for "In A List" operator not "=" operator..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you need anymore infor for the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 09:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-Prompts-All-Possible-Values-checkbox/m-p/355900#M5366</guid>
      <dc:creator>Jatin_Jim</dc:creator>
      <dc:date>2017-05-04T09:43:54Z</dc:date>
    </item>
  </channel>
</rss>

