<?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: Prompt Manager question with SAS EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Prompt-Manager-question-with-SAS-EG/m-p/361199#M23740</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13827"&gt;@FredrikE&lt;/a&gt;, thank you for your answer.&amp;nbsp; The EG macro worked for what I needed so I appreciate that.&amp;nbsp; I tried to google more information about the syntax of the eg macro but didn't find anything clear.&amp;nbsp; I am curious to know what TYPE and IS_EXPLICIT it is doing.&amp;nbsp; Is there more information on this macro anywhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked at the coding for resolving myself.&amp;nbsp; Looks like some code I will be interested in diving into.&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2017 13:23:56 GMT</pubDate>
    <dc:creator>elwayfan446</dc:creator>
    <dc:date>2017-05-24T13:23:56Z</dc:date>
    <item>
      <title>Prompt Manager question with SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Prompt-Manager-question-with-SAS-EG/m-p/360801#M23717</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just now playing with the prompt manager feature in SAS EG.&amp;nbsp; I am using a proc sql script in a program task and I want the prompt to populate the where clause of the script.&amp;nbsp; If I only have one variable (field 1 = 'x') it works just fine.&amp;nbsp; However, I want to write it so I can enter multiple values with the prompt.&amp;nbsp; (field 1 in ('x','y')).&amp;nbsp; I get a syntax error when I do this.&amp;nbsp; I have tried putting the quotes in a single text prompt, multiple text promp, etc. but I can't seem to get it to work correctly.&amp;nbsp; Can you guys tell me what I am missing?&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 15:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Prompt-Manager-question-with-SAS-EG/m-p/360801#M23717</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2017-05-23T15:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Prompt Manager question with SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Prompt-Manager-question-with-SAS-EG/m-p/361035#M23729</link>
      <description>&lt;P&gt;If I get you right &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the EG-macro:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;select&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; *&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;from&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; sashelp.class&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;where&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; %&lt;STRONG&gt;&lt;I&gt;_eg_WhereParam&lt;/I&gt;&lt;/STRONG&gt;( sex, kalle, &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;IN&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;, TYPE=S, IS_EXPLICIT=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Kalle is the name of my prompt, sex is the variable in sashelp.class.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;You can also resolve the macrovariables your self, but then you need some macro coding.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;A href="https://communities.sas.com/t5/General-SAS-Programming/Do-loop-using-a-prompt-generated-macro-variable/td-p/82348" target="_blank"&gt;https://communities.sas.com/t5/General-SAS-Programming/Do-loop-using-a-prompt-generated-macro-variable/td-p/82348&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 06:56:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Prompt-Manager-question-with-SAS-EG/m-p/361035#M23729</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2017-05-24T06:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Prompt Manager question with SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Prompt-Manager-question-with-SAS-EG/m-p/361199#M23740</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13827"&gt;@FredrikE&lt;/a&gt;, thank you for your answer.&amp;nbsp; The EG macro worked for what I needed so I appreciate that.&amp;nbsp; I tried to google more information about the syntax of the eg macro but didn't find anything clear.&amp;nbsp; I am curious to know what TYPE and IS_EXPLICIT it is doing.&amp;nbsp; Is there more information on this macro anywhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked at the coding for resolving myself.&amp;nbsp; Looks like some code I will be interested in diving into.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 13:23:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Prompt-Manager-question-with-SAS-EG/m-p/361199#M23740</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2017-05-24T13:23:56Z</dc:date>
    </item>
  </channel>
</rss>

