<?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: merging in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550376#M152809</link>
    <description>&lt;P&gt;Maxim 3: Know Your Data.&lt;/P&gt;
&lt;P&gt;You do not have any matches.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2019 19:23:43 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-04-11T19:23:43Z</dc:date>
    <item>
      <title>merging</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550350#M152796</link>
      <description>&lt;P&gt;Please please tell me what is wrong with this code. it is not working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*Merging visit and std elements datasets by unique id*/&lt;BR /&gt;data JanFeb_COMPLETE_2019;&lt;BR /&gt;merge janfebs.CONCATENATE_JAN2FEB_2019(in=A) CONCATENATE_KEENAN_CLN19(in=B);&lt;BR /&gt;by UNIQUE_ID;&lt;BR /&gt;If a and b;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the log says&amp;nbsp;&lt;/P&gt;&lt;P&gt;3142 data JanFeb_COMPLETE_2019;&lt;BR /&gt;3143 merge janfebs.CONCATENATE_JAN2FEB_2019(in=A) CONCATENATE_KEENAN_CLN19(in=B);&lt;BR /&gt;3144 by UNIQUE_ID;&lt;BR /&gt;3145 If a and b ;&lt;BR /&gt;3146 run;&lt;/P&gt;&lt;P&gt;NOTE: There were 702 observations read from the data set JANFEBS.CONCATENATE_JAN2FEB_2019.&lt;BR /&gt;NOTE: There were 79 observations read from the data set WORK.CONCATENATE_KEENAN_CLN19.&lt;BR /&gt;NOTE: The data set WORK.JANFEB_COMPLETE_2019 has 0 observations and 69 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.02 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 17:51:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550350#M152796</guid>
      <dc:creator>Dhana18</dc:creator>
      <dc:date>2019-04-11T17:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: merging</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550357#M152799</link>
      <description>Your program contains this line:&lt;BR /&gt;&lt;BR /&gt;if a and b;&lt;BR /&gt;&lt;BR /&gt;Do you understand what this does?&lt;BR /&gt;&lt;BR /&gt;There are no values of UNIQUE_ID that appear in both incoming data sets.</description>
      <pubDate>Thu, 11 Apr 2019 17:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550357#M152799</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-04-11T17:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: merging</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550359#M152800</link>
      <description>My understanding is if records are in A and in B. Is that what it is?&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Apr 2019 18:00:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550359#M152800</guid>
      <dc:creator>Dhana18</dc:creator>
      <dc:date>2019-04-11T18:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: merging</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550362#M152802</link>
      <description>&lt;P&gt;I just checked&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt;"&gt;&lt;FONT color="#000000"&gt;There are values of UNIQUE_ID that appear in both incoming data sets I just checked.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;It works if I say if a&amp;nbsp; or if b but it just does not work when I say if a and b.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 18:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550362#M152802</guid>
      <dc:creator>Dhana18</dc:creator>
      <dc:date>2019-04-11T18:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: merging</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550365#M152805</link>
      <description>&lt;P&gt;Please help me to figure out what is wrong in this code. I am trying to merge data from two data sets if the records are in both data sets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data JanFeb_COMPLETE_2019;&lt;BR /&gt;merge CONCATENATE_KEENAN_CLN19 (in=B) janfebs.CONCATENATE_JAN2FEB_2019(in=A);&lt;BR /&gt;by UNIQUE_ID;&lt;BR /&gt;If a and b;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 18:19:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550365#M152805</guid>
      <dc:creator>Dhana18</dc:creator>
      <dc:date>2019-04-11T18:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: merging</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550367#M152806</link>
      <description>You will need to check the values more carefully.  They do not match.  Perhaps some of them have leading blanks.  Perhaps some of them contain a tab character at the end.  But they do not match.</description>
      <pubDate>Thu, 11 Apr 2019 18:29:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550367#M152806</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-04-11T18:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: merging</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550376#M152809</link>
      <description>&lt;P&gt;Maxim 3: Know Your Data.&lt;/P&gt;
&lt;P&gt;You do not have any matches.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 19:23:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging/m-p/550376#M152809</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-04-11T19:23:43Z</dc:date>
    </item>
  </channel>
</rss>

