<?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: SAS Proc Sql Sort Error in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349459#M8265</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/124001"&gt;@japsas100&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;when execute below command its showing the lot of free disk space.&lt;/P&gt;
&lt;P&gt;vmstat -s&lt;/P&gt;
&lt;P&gt;65974172 total memory&lt;BR /&gt;13775512 used memory&lt;BR /&gt;10930572 active memory&lt;BR /&gt;1956100 inactive memory&lt;BR /&gt;52198660 free memory&lt;BR /&gt;226732 buffer memory&lt;BR /&gt;305372 swap cache&lt;BR /&gt;33554428 total swap&lt;BR /&gt;191288 used swap&lt;BR /&gt;33363140 free swap&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;These are all VIRTUAL MEMORY values. Nothing that deals with disk space (aside from the paging space) is found in vmstat.&lt;/P&gt;
&lt;P&gt;Do a df -k on the work location.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2017 14:03:36 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-04-12T14:03:36Z</dc:date>
    <item>
      <title>SAS Proc Sql Sort Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349439#M8260</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting below error while submitting the code. Please advise?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Sort execution failure.&lt;/P&gt;&lt;P&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;89 QUIT;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 16:27.87&lt;BR /&gt;user cpu time 8:57.96&lt;BR /&gt;system cpu time 3:37.82&lt;BR /&gt;memory 12585386.64k&lt;BR /&gt;OS Memory 12604136.00k&lt;BR /&gt;Timestamp 04/12/2017 04:20:35 PM&lt;BR /&gt;Step Count 6 Switch Count 258&lt;BR /&gt;3 The SAS System 15:45 Wednesday, April 12, 2017&lt;/P&gt;&lt;P&gt;Page Faults 16&lt;BR /&gt;Page Reclaims 2978910&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 3831365&lt;BR /&gt;Involuntary Context Switches 2916139&lt;BR /&gt;Block Input Operations 2224&lt;BR /&gt;Block Output Operations 136374688&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have check below values in sas config file&lt;/P&gt;&lt;P&gt;-WORK /saswork&lt;BR /&gt;-MEMSIZE 48G&lt;BR /&gt;-SORTSIZE 12G&lt;BR /&gt;-WORKPERMS 700&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no uttloc seperate entry in config file.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 13:29:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349439#M8260</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2017-04-12T13:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc Sql Sort Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349449#M8262</link>
      <description>&lt;P&gt;Might be that there is not enough disk space - refer to this note:&amp;nbsp;&lt;A href="http://support.sas.com/kb/39/705.html" target="_self"&gt;http://support.sas.com/kb/39/705.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 13:44:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349449#M8262</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2017-04-12T13:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc Sql Sort Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349456#M8263</link>
      <description>&lt;P&gt;90% (or 99%) you're out of space in WORK.&lt;/P&gt;
&lt;P&gt;Try a separate proc sort by the variables needed.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 13:58:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349456#M8263</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-04-12T13:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc Sql Sort Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349457#M8264</link>
      <description>&lt;P&gt;when execute below command its showing the lot of free disk space.&lt;/P&gt;&lt;P&gt;vmstat -s&lt;/P&gt;&lt;P&gt;65974172 total memory&lt;BR /&gt;13775512 used memory&lt;BR /&gt;10930572 active memory&lt;BR /&gt;1956100 inactive memory&lt;BR /&gt;52198660 free memory&lt;BR /&gt;226732 buffer memory&lt;BR /&gt;305372 swap cache&lt;BR /&gt;33554428 total swap&lt;BR /&gt;191288 used swap&lt;BR /&gt;33363140 free swap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 14:00:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349457#M8264</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2017-04-12T14:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc Sql Sort Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349459#M8265</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/124001"&gt;@japsas100&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;when execute below command its showing the lot of free disk space.&lt;/P&gt;
&lt;P&gt;vmstat -s&lt;/P&gt;
&lt;P&gt;65974172 total memory&lt;BR /&gt;13775512 used memory&lt;BR /&gt;10930572 active memory&lt;BR /&gt;1956100 inactive memory&lt;BR /&gt;52198660 free memory&lt;BR /&gt;226732 buffer memory&lt;BR /&gt;305372 swap cache&lt;BR /&gt;33554428 total swap&lt;BR /&gt;191288 used swap&lt;BR /&gt;33363140 free swap&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;These are all VIRTUAL MEMORY values. Nothing that deals with disk space (aside from the paging space) is found in vmstat.&lt;/P&gt;
&lt;P&gt;Do a df -k on the work location.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 14:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349459#M8265</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-04-12T14:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc Sql Sort Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349462#M8266</link>
      <description>&lt;P&gt;66gb of free space avaiable in saswork dir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/dev/mapper/vg_sas-lv_saswork &amp;nbsp;99G 29G 66G 31% /saswork&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 14:05:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349462#M8266</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2017-04-12T14:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc Sql Sort Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349463#M8267</link>
      <description>&lt;P&gt;How big is the file you are trying to sort? Could be that your&amp;nbsp;&lt;SPAN&gt;MEMSIZE and SORTSIZE are to small&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 14:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349463#M8267</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2017-04-12T14:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc Sql Sort Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349464#M8268</link>
      <description>&lt;P&gt;Also have a look at the physical size(s) of the dataset(s) involved in the SQL, and how you wrote the SQL. Might well be that you caused a cartesian product that has you run out of space. Or you do a distinct that requires an unnecessarily complicated sort.&lt;/P&gt;
&lt;P&gt;If in doubt, post your SQL code, and some metadata about the tables involved.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 14:06:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349464#M8268</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-04-12T14:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc Sql Sort Error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349819#M8273</link>
      <description>&lt;P&gt;Did you review the &lt;A href="http://support.sas.com/kb/39/705.html" target="_self" rel="nofollow noopener noreferrer"&gt;http://support.sas.com/kb/39/705.html&lt;/A&gt;.&lt;BR /&gt;Decrease sortsize as suggested.&lt;/P&gt;
&lt;P&gt;Check your code.&lt;/P&gt;
&lt;P&gt;You can try with a smaller sample data&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 17:46:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Proc-Sql-Sort-Error/m-p/349819#M8273</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2017-04-13T17:46:51Z</dc:date>
    </item>
  </channel>
</rss>

