<?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: Proc Sql and Proc Sort execution failure in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sql-and-Proc-Sort-execution-failure/m-p/501427#M133693</link>
    <description>&lt;P&gt;One thing you can try is to sort the dataset in a proc sort step, and use the tagsort option. This means that only the by variables and an observation pointer go into the utility file, but you pay for that in terms of performance.&lt;/P&gt;
&lt;P&gt;Tagsort is also good when you have used the compress=yes option on a dataset and managed to get a high compression rate.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Oct 2018 11:18:56 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-10-04T11:18:56Z</dc:date>
    <item>
      <title>Proc Sql and Proc Sort execution failure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sql-and-Proc-Sort-execution-failure/m-p/501385#M133679</link>
      <description>I am working with large datasets - 5TB a piece.&lt;BR /&gt;&lt;BR /&gt;When I run a sort procedure I save them to the actual space which is over 100TB, but for some reason they are running through the tmp folders which only has 1TB so the sort execution fails. How do I get the dataset to sort in the folder space and not the tmp space to keep if from failing.&lt;BR /&gt;&lt;BR /&gt;So by folder space I mean it matches up with a Libame, so mc.dataset</description>
      <pubDate>Thu, 04 Oct 2018 08:38:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sql-and-Proc-Sort-execution-failure/m-p/501385#M133679</guid>
      <dc:creator>vapodaca11</dc:creator>
      <dc:date>2018-10-04T08:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sql and Proc Sort execution failure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sql-and-Proc-Sort-execution-failure/m-p/501392#M133680</link>
      <description>&lt;P&gt;Temporary utility files are created in the WORK location, or in the location specified by the UTILLOC option. You need to change these options in the configuration if you want to have your WORK and/or UTILLOC somewhere else than /tmp.&lt;/P&gt;
&lt;P&gt;Which configuration you need to change depends on the way you use SAS (Base SAS with Display Manager, Enterprise Guide with Local server, remote workspace server with EG or SAS Studio, SAS in batch mode).&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 08:52:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sql-and-Proc-Sort-execution-failure/m-p/501392#M133680</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-04T08:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sql and Proc Sort execution failure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sql-and-Proc-Sort-execution-failure/m-p/501427#M133693</link>
      <description>&lt;P&gt;One thing you can try is to sort the dataset in a proc sort step, and use the tagsort option. This means that only the by variables and an observation pointer go into the utility file, but you pay for that in terms of performance.&lt;/P&gt;
&lt;P&gt;Tagsort is also good when you have used the compress=yes option on a dataset and managed to get a high compression rate.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 11:18:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sql-and-Proc-Sort-execution-failure/m-p/501427#M133693</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-04T11:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sql and Proc Sort execution failure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sql-and-Proc-Sort-execution-failure/m-p/501430#M133694</link>
      <description>&lt;P&gt;This table is too big for PROC SORT or SQL .&lt;/P&gt;
&lt;P&gt;I would suggest other method to sort data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data F M;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;set sashelp.class;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;select(sex);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;when('F') output F;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;when('M') output M;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;otherwise;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;set F M;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 11:23:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sql-and-Proc-Sort-execution-failure/m-p/501430#M133694</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-10-04T11:23:48Z</dc:date>
    </item>
  </channel>
</rss>

