<?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 Merge in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Merge/m-p/317185#M61765</link>
    <description>&lt;P&gt;while merging data i got following error, can anyone look at it and tell me how to deal with it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6261iB96392EFB6A30FE2/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screenshot 2016-12-07 11.04.11.png" title="Screenshot 2016-12-07 11.04.11.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 02:38:39 GMT</pubDate>
    <dc:creator>Jahanzaib</dc:creator>
    <dc:date>2016-12-07T02:38:39Z</dc:date>
    <item>
      <title>Merge</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge/m-p/317185#M61765</link>
      <description>&lt;P&gt;while merging data i got following error, can anyone look at it and tell me how to deal with it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6261iB96392EFB6A30FE2/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screenshot 2016-12-07 11.04.11.png" title="Screenshot 2016-12-07 11.04.11.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 02:38:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge/m-p/317185#M61765</guid>
      <dc:creator>Jahanzaib</dc:creator>
      <dc:date>2016-12-07T02:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Merge</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge/m-p/317189#M61766</link>
      <description>&lt;P&gt;This message is telling you that COMPANY is part of both data sets that you are merging. &amp;nbsp;However, it has a different length in the two data sets. &amp;nbsp;You would need to examine the length (probably running &amp;nbsp;PROC CONTENTS on both data sets), select the longer length, and use that to define COMPANY. &amp;nbsp;You would do that by adding this sort of statement (using the longer length rather than 20):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;length company $ 20;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has to go BEFORE the MERGE statement.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 03:02:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge/m-p/317189#M61766</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-12-07T03:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Merge</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge/m-p/317203#M61768</link>
      <description>&lt;P&gt;Or if the first dataset in the merge statement (E1 in&amp;nbsp;your case)&amp;nbsp;has company with the longer length, it will prevail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general the first encounter with a variable establishes its attributes (length, format, label), while the last encounter establishes the value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 04:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge/m-p/317203#M61768</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2016-12-07T04:57:42Z</dc:date>
    </item>
  </channel>
</rss>

