<?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: Messages in the log. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15838#M2123</link>
    <description>Only if they are not in the correct order.  The message is generated when data lines are encountered in the wrong order, not due to a sort indicator.</description>
    <pubDate>Thu, 12 Nov 2009 14:15:46 GMT</pubDate>
    <dc:creator>Flip</dc:creator>
    <dc:date>2009-11-12T14:15:46Z</dc:date>
    <item>
      <title>Messages in the log.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15837#M2122</link>
      <description>Two tables:&lt;BR /&gt;
&lt;BR /&gt;
A with variables ID, X, Y.&lt;BR /&gt;
B with variables ID, Z&lt;BR /&gt;
&lt;BR /&gt;
Merging: &lt;BR /&gt;
&lt;BR /&gt;
data C;&lt;BR /&gt;
merge A B;&lt;BR /&gt;
by ID;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
If anyone of A and B is not sorted by ID, shouldn't there be a message in the log about it?</description>
      <pubDate>Thu, 12 Nov 2009 13:45:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15837#M2122</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-11-12T13:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Messages in the log.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15838#M2123</link>
      <description>Only if they are not in the correct order.  The message is generated when data lines are encountered in the wrong order, not due to a sort indicator.</description>
      <pubDate>Thu, 12 Nov 2009 14:15:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15838#M2123</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2009-11-12T14:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Messages in the log.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15839#M2124</link>
      <description>Thanks for your answer.&lt;BR /&gt;
&lt;BR /&gt;
In my example above table A was sorted by ID with PROC SORT, but table B was not.&lt;BR /&gt;
&lt;BR /&gt;
So, since there was no message concerning table B, I can draw the conclusion, for sure, that the records in B was in correct order?&lt;BR /&gt;
&lt;BR /&gt;
You NEVER have to worry when there is a BY in the merging, that you get something that you don't want?</description>
      <pubDate>Thu, 12 Nov 2009 14:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15839#M2124</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-11-12T14:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Messages in the log.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15840#M2125</link>
      <description>As long as you do not code the BY statement parameter NOSORTED.  Useful reading below, for your consideration.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
SAS Language Reference: Concepts, Processing BY-Groups in the DATA Step&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a000761932.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/61722/HTML/default/a000761932.htm&lt;/A&gt;</description>
      <pubDate>Thu, 12 Nov 2009 14:40:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15840#M2125</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-11-12T14:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Messages in the log.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15841#M2126</link>
      <description>MERGE does not support BY statement with NOTSORTED option.</description>
      <pubDate>Thu, 12 Nov 2009 17:56:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Messages-in-the-log/m-p/15841#M2126</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2009-11-12T17:56:04Z</dc:date>
    </item>
  </channel>
</rss>

