<?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: Avoiding data set merging problems when by-variable has different lengths. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48573#M10040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not direct to use the max length of character variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;DATA combinedtable;
LENGTH mergevar $ 32767;
MERGE table1 table2;
 BY mergevar;
RUN;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2012 07:23:29 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2012-02-14T07:23:29Z</dc:date>
    <item>
      <title>Avoiding data set merging problems when by-variable has different lengths.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48568#M10035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;When merging 2 tables on a common by-variable you run the risk of having a different length on this (or these) by variable(s). If this is the case, SAS will casually inform you with the following warning:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: teal; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;WARNING: Multiple lengths were specified for the BY variable mergevar by input data sets. &lt;/SPAN&gt;&lt;SPAN style="color: teal; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;This may cause unexpected results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="background-color: white; font-family: Verdana; font-size: 11pt;"&gt;On first sight you might be inclined to ignore this pretty warning but SAS will do exactly as it states: it may cause unexpected results. In some cases the merge might be successful, other times the merge is partial or just not executed at all, leaving you with an empty table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; text-indent: 35.4pt; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="background-color: white; font-family: Verdana; font-size: 11pt;"&gt;Take the following example:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;DATA&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;length&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; mergevar $&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: teal; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;10&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mergevar = &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: purple; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;"blabla"&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table1varIwant = &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: purple; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;"interesting stuff"&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;DATA&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; table2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;length&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; mergevar $&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: teal; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;11&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mergevar = &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: purple; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;"blabla"&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table2varIwant = &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: purple; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;"more interesting stuff"&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;PROC &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;SORT &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;=table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;BY&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; mergevar;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;PROC &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;SORT &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;=table2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;BY&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; mergevar;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;DATA&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; combinedtable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;MERGE&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; table1 table2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;BY&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; mergevar;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="background-color: white; font-family: Verdana; font-size: 11pt;"&gt;The warning will be shown in the log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: teal; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;WARNING: Multiple lengths were specified for the BY variable mergevar by input data sets. &lt;/SPAN&gt;&lt;SPAN style="color: teal; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;This may cause unexpected results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="background-color: white; font-family: Verdana; font-size: 11pt;"&gt;Hopefully you will get the correct result but if you have a lot of observations to merge on, changes are… you won’t.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="background-color: white; font-family: Verdana; font-size: 11pt;"&gt;One way to solve this is by first determining the longest length for the ‘mergevar’ and using that information in a new length statement just before the actual merge.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="background-color: white; font-family: Verdana; font-size: 11pt;"&gt;The&lt;STRONG style="color: navy;"&gt; PROC SQL &lt;/STRONG&gt;puts the longest length in a macro variable called&lt;STRONG style="color: navy;"&gt; ‘&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;maxlength’.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;PROC&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;SQL&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; max(length) &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;INTO&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; :maxlength&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; sashelp.vcolumn&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; libname=&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: purple; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;'WORK'&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and memname in&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: purple; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;"table1"&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: purple; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;"table2"&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and upcase(name)=&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: purple; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;"mergevar"&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;QUIT&lt;/SPAN&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;This macrovariable is than used to set the &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;LENGTH &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="background-color: white; font-family: Verdana; font-size: 11pt;"&gt;of the mergevar.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="color: navy; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;DATA&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; combinedtable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;LENGTH&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; mergevar $ &amp;amp;maxlength;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;MERGE&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; table1 table2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-GB" style="color: blue; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;BY&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt; mergevar;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;STRONG style="color: navy; font-size: 11pt; background-color: white; font-family: Verdana;"&gt;RUN&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; margin-top: 8px; margin-bottom: 8px;"&gt;&lt;SPAN lang="EN-GB" style="color: black; background-color: white; font-family: Verdana; font-size: 11pt;"&gt;This merge runs without warning and you should have the expected result.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 09:51:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48568#M10035</guid>
      <dc:creator>BIGuidance</dc:creator>
      <dc:date>2012-02-08T09:51:54Z</dc:date>
    </item>
    <item>
      <title>Avoiding data set merging problems when by-variable has different lengths.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48569#M10036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also just use the option varlenchk=nowarn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:16:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48569#M10036</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2012-02-10T17:16:28Z</dc:date>
    </item>
    <item>
      <title>Avoiding data set merging problems when by-variable has different lengths.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48570#M10037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That only suppresses the warning message. It doesn't solve the problem that resulted in the warning message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 19:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48570#M10037</guid>
      <dc:creator>DouglasMartin</dc:creator>
      <dc:date>2012-02-10T19:08:27Z</dc:date>
    </item>
    <item>
      <title>Avoiding data set merging problems when by-variable has different lengths.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48571#M10038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Certainly it does not 'solve' anything it just suppresses the warning in situations when you know there is no problem needing to be solved.&amp;nbsp; You can also list the dataset with the larger length first in the merge statement to have the resulting dataset with the longer of the given attributes for the common variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 20:21:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48571#M10038</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2012-02-10T20:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding data set merging problems when by-variable has different lengths.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48572#M10039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;Gday,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;I think there are two other ways it could be done:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 14pt; font-family: courier new,courier;"&gt;&lt;STRONG style="color: #000080;"&gt;&lt;STRONG style="color: #000080;"&gt;&lt;STRONG style="color: #000080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 3; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 14pt; font-family: courier new,courier;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA &lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;SPAN style="color: #000000;"&gt;combinedtable;&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; mergevar &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;$11.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG&gt;MERGE &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG&gt;table1 table2;&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;BY &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;mergevar;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;P&gt;^^&lt;/P&gt;&lt;P&gt;Specify the biggest length prior to the merge statement&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG&gt;DATA&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;SPAN style="color: #000000;"&gt; combinedtable;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG&gt;&amp;nbsp; MERGE &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG&gt;table2 table1 ;&lt;/STRONG&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;&amp;nbsp; BY&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; mergevar;&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; color: #000080; font-size: 12pt;"&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Courier New;"&gt;﻿&lt;/SPAN&gt;^^&lt;BR /&gt;If you know that table2 has the bigger variable put it first in the merge statement.&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 05:23:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48572#M10039</guid>
      <dc:creator>JohnT</dc:creator>
      <dc:date>2012-02-14T05:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding data set merging problems when by-variable has different lengths.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48573#M10040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not direct to use the max length of character variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;DATA combinedtable;
LENGTH mergevar $ 32767;
MERGE table1 table2;
 BY mergevar;
RUN;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 07:23:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48573#M10040</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-02-14T07:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding data set merging problems when by-variable has different lengths.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48574#M10041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ... if anyone would like to do some reading (from 9 years ago with most of the same points brought up in the discussion) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Danger:&amp;nbsp; MERGE Ahead! Warning:&amp;nbsp; BY Variable with Multiple Lengths!"&lt;/P&gt;&lt;P&gt;by Bob Virgile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nesug.org/proceedings/nesug03/at/at005.pdf"&gt;http://www.nesug.org/proceedings/nesug03/at/at005.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 17:50:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48574#M10041</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-02-14T17:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding data set merging problems when by-variable has different lengths.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48575#M10042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Mike. I have read one of his books on improving SAS code efficiency, and I have benefited from it a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 17:55:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48575#M10042</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-02-14T17:55:53Z</dc:date>
    </item>
    <item>
      <title>Avoiding data set merging problems when by-variable has different lengths.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48576#M10043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A late comment: &lt;BR /&gt;In general, when you fetch a lot of data from a big DWH, you want an ABEND if ANYTHING is incorrect. Then you can sit down and consider the structure of your tables, and what problem you really want to solve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;There are of course several technical ways of avoiding the the error message, but they do not really help you to get accurate and realiable SAS-programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that the use of LENGTH mergevar $ 32767; will increase the amount of computer resorces used.&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp; Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 22:15:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Avoiding-data-set-merging-problems-when-by-variable-has/m-p/48576#M10043</guid>
      <dc:creator>AndersS</dc:creator>
      <dc:date>2012-03-19T22:15:28Z</dc:date>
    </item>
  </channel>
</rss>

