<?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 SAS Studio Task - in clause for a where statement in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-Task-in-clause-for-a-where-statement/m-p/434593#M4575</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm building a task where I want to create a where clause based on a data and variable selection (I've re-used the Filter Data supplied task). I want to create an IN clause but there seems to be no way of doing it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can fill a DISTINCT object with the variable values but this only allows one value to be selected. A COMBOBOX is also out of the question as this is also a single selection object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone managed to fill a&amp;nbsp;SELECT object with the variable values? I've only managed to get it to&amp;nbsp;add in the variable name when I want to get the list of distinct values from that variable name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone got any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Lawrence&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2018 16:57:34 GMT</pubDate>
    <dc:creator>LawrenceHW</dc:creator>
    <dc:date>2018-02-06T16:57:34Z</dc:date>
    <item>
      <title>SAS Studio Task - in clause for a where statement</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-Task-in-clause-for-a-where-statement/m-p/434593#M4575</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm building a task where I want to create a where clause based on a data and variable selection (I've re-used the Filter Data supplied task). I want to create an IN clause but there seems to be no way of doing it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can fill a DISTINCT object with the variable values but this only allows one value to be selected. A COMBOBOX is also out of the question as this is also a single selection object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone managed to fill a&amp;nbsp;SELECT object with the variable values? I've only managed to get it to&amp;nbsp;add in the variable name when I want to get the list of distinct values from that variable name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone got any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Lawrence&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 16:57:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-Task-in-clause-for-a-where-statement/m-p/434593#M4575</guid>
      <dc:creator>LawrenceHW</dc:creator>
      <dc:date>2018-02-06T16:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio Task - in clause for a where statement</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-Task-in-clause-for-a-where-statement/m-p/434746#M4578</link>
      <description>&lt;P&gt;I'm not sure that you can do this either unless&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/55602"&gt;@OliviaWright&lt;/a&gt;&amp;nbsp;know a way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However you can do this already with the supplied Query Utility so you may not need a Custom task after all...&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 01:59:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-Task-in-clause-for-a-where-statement/m-p/434746#M4578</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2018-02-07T01:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio Task - in clause for a where statement</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-Task-in-clause-for-a-where-statement/m-p/434785#M4580</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply. I'll have a look at the Query Utility but I actually need this as part of a larger custom task. So the selection of a where clause is one part&amp;nbsp;of the whole custom task. Unless there's a way of calling existing tasks from within a custom task (analogous to a macro).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Lawrence&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 09:04:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-Task-in-clause-for-a-where-statement/m-p/434785#M4580</guid>
      <dc:creator>LawrenceHW</dc:creator>
      <dc:date>2018-02-07T09:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio Task - in clause for a where statement</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-Task-in-clause-for-a-where-statement/m-p/435034#M4582</link>
      <description>&lt;P&gt;The feature that you are looking for in an object to construct a custom task is currently not available in SAS Studio. We will consider adding this feature in a future release. Thank you for your feedback.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With regarding to your other question, you cannot call an existing task from a custom task. However, you can run an existing task and a custom task together using a &lt;A href="http://go.documentation.sas.com/?activeCdc=webeditorcdc&amp;amp;cdcId=sasstudiocdc&amp;amp;cdcVersion=3.71&amp;amp;docsetId=webeditorug&amp;amp;docsetTarget=n0ekm94albqbi1n19u7owsw5qhqb.htm&amp;amp;locale=en&amp;amp;docsetVersion=3.71" target="_self"&gt;Process Flow in SAS Studio&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 20:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-Task-in-clause-for-a-where-statement/m-p/435034#M4582</guid>
      <dc:creator>Sharad_sas</dc:creator>
      <dc:date>2018-02-07T20:10:25Z</dc:date>
    </item>
  </channel>
</rss>

