<?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 Error trying to make a left join in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/548254#M16846</link>
    <description>&lt;P&gt;HI, I'm doing a left join using a proc sql but I get this error:&amp;nbsp;ERROR: Sort key definition failure.&lt;/P&gt;
&lt;P&gt;This is a query that I've executed before without no problems:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table work.data as select
a.codunicocli,
b.codclavecic,
b.apepatcli,
b.apematcli,
b.nbrcli
from work.febrero as a
left join ods_v.md_cliente as b on a.codunicocli=b.codunicocli;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Any suggestion to solve it? Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PD. I'm using SAS Enterprise Guide 7.1&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2019 15:36:14 GMT</pubDate>
    <dc:creator>fri0</dc:creator>
    <dc:date>2019-04-03T15:36:14Z</dc:date>
    <item>
      <title>Error trying to make a left join</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/548254#M16846</link>
      <description>&lt;P&gt;HI, I'm doing a left join using a proc sql but I get this error:&amp;nbsp;ERROR: Sort key definition failure.&lt;/P&gt;
&lt;P&gt;This is a query that I've executed before without no problems:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table work.data as select
a.codunicocli,
b.codclavecic,
b.apepatcli,
b.apematcli,
b.nbrcli
from work.febrero as a
left join ods_v.md_cliente as b on a.codunicocli=b.codunicocli;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Any suggestion to solve it? Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PD. I'm using SAS Enterprise Guide 7.1&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 15:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/548254#M16846</guid>
      <dc:creator>fri0</dc:creator>
      <dc:date>2019-04-03T15:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to make a left join</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/548331#M16848</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28675"&gt;@fri0&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This error usually occurs when SAS runs out of a resource. I would verify that SAS work has sufficient space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;BR /&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 20:08:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/548331#M16848</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2019-04-03T20:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to make a left join</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/548351#M16851</link>
      <description>&lt;P&gt;I copied the second table to a table in the work library and the query works... This has no sense to me, if the problem would be space, I couldn't make a copy of any table right?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 21:24:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/548351#M16851</guid>
      <dc:creator>fri0</dc:creator>
      <dc:date>2019-04-03T21:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to make a left join</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/548615#M16854</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28675"&gt;@fri0&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Join processing can cause an increase in the size of data&amp;nbsp;that is written to work. I am not sure where the space issue actually is, but this type of error is always a "Hey, I can't get enough of something" problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;BR /&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 18:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/548615#M16854</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2019-04-04T18:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to make a left join</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/549012#M16855</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28675"&gt;@fri0&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A SQL left join requires implicit sorting of your source tables and though will create temporary utility files which might consume a multiple of the source table disc space. So just being able to copy a source table to WORK doesn't proof that you've got enough space.&lt;/P&gt;
&lt;P&gt;System option UTILLOC points often to WORK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get as much WORK space as possible start a new session or delete tables in WORK before you run your SQL.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2019 03:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Error-trying-to-make-a-left-join/m-p/549012#M16855</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-04-06T03:52:55Z</dc:date>
    </item>
  </channel>
</rss>

