<?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 Where statement during Merging table in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Where-statement-during-Merging-table/m-p/211169#M2988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can anyone tell me where and how should I add the 'where clause' in the following code for merging two table. I want to add &lt;STRONG&gt;where name='Jack' &lt;/STRONG&gt;for tabl1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data out;&lt;/P&gt;&lt;P&gt;merge Table1(in=a) apple.Table2(in=b);&lt;/P&gt;&lt;P&gt;by ID1;&amp;nbsp; /*Common variable*/&lt;/P&gt;&lt;P&gt;if a=0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 14:48:34 GMT</pubDate>
    <dc:creator>mlogan</dc:creator>
    <dc:date>2015-05-07T14:48:34Z</dc:date>
    <item>
      <title>Where statement during Merging table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Where-statement-during-Merging-table/m-p/211169#M2988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can anyone tell me where and how should I add the 'where clause' in the following code for merging two table. I want to add &lt;STRONG&gt;where name='Jack' &lt;/STRONG&gt;for tabl1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data out;&lt;/P&gt;&lt;P&gt;merge Table1(in=a) apple.Table2(in=b);&lt;/P&gt;&lt;P&gt;by ID1;&amp;nbsp; /*Common variable*/&lt;/P&gt;&lt;P&gt;if a=0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:48:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Where-statement-during-Merging-table/m-p/211169#M2988</guid>
      <dc:creator>mlogan</dc:creator>
      <dc:date>2015-05-07T14:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement during Merging table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Where-statement-during-Merging-table/m-p/211170#M2989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Data out;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;merge Table1(in=a where=(name="jack")) apple.Table2(in=b);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;by ID1;&amp;nbsp; /*Common variable*/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;if a=0;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 15:01:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Where-statement-during-Merging-table/m-p/211170#M2989</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-05-07T15:01:16Z</dc:date>
    </item>
  </channel>
</rss>

