<?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 Most efficient way to create subset from a huge dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376129#M90238</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am having a dataset which is updated every month with addition of million records. It is having a couple of variables containing free text with length upto&amp;nbsp;32767. While taking subset using PROC SQL, it takes couple of days. Is there any efficent way to decrease the processing time e.g. using DS2. Please let me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2017 18:25:45 GMT</pubDate>
    <dc:creator>DeepakSwain</dc:creator>
    <dc:date>2017-07-14T18:25:45Z</dc:date>
    <item>
      <title>Most efficient way to create subset from a huge dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376129#M90238</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am having a dataset which is updated every month with addition of million records. It is having a couple of variables containing free text with length upto&amp;nbsp;32767. While taking subset using PROC SQL, it takes couple of days. Is there any efficent way to decrease the processing time e.g. using DS2. Please let me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 18:25:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376129#M90238</guid>
      <dc:creator>DeepakSwain</dc:creator>
      <dc:date>2017-07-14T18:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Most efficient way to create subset from a huge dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376135#M90242</link>
      <description>&lt;P&gt;The title of your question, and specifics in your description, refer to two totally different operations. Are you taking a subset of a large dataset, or appending new data to an existing file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's the latter, you might one to try proc append (see:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/65287/HTML/default/viewer.htm#n1tgk0uanvisvon1r26lc036k0w7.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/65287/HTML/default/viewer.htm#n1tgk0uanvisvon1r26lc036k0w7.htm&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, have you ever done an analsis of the "couple of variables" that have lengths of 32767? You can probably shorten the time quite a bit of you can reduce the lengths of those variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 19:01:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376135#M90242</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-07-14T19:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Most efficient way to create subset from a huge dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376137#M90244</link>
      <description>&lt;P&gt;Hi art297,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am interested to take subset of an existing dataset. I believe that once the subset is taken, the variable having free text with length&amp;nbsp;$32767, which can not be changed as tool dependent, may be dropped to improve the efficiency.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your kind reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 19:09:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376137#M90244</guid>
      <dc:creator>DeepakSwain</dc:creator>
      <dc:date>2017-07-14T19:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Most efficient way to create subset from a huge dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376142#M90248</link>
      <description>&lt;P&gt;Is your desired subset just the new records that have been added (i.e., the last x records from a given point), or could they exist anywhere in the dataset? If the latter, I'd suggest using a where option in a set (datastep) or from (sql) statement. If it's the latter, I'd suggest saving the last record number to a data file, then using a firstobs dataset option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 19:23:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376142#M90248</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-07-14T19:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Most efficient way to create subset from a huge dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376199#M90266</link>
      <description>If you are using a data step make sure to exclude this column via the drop data set option in the SET statement. &lt;BR /&gt;If your subset is relatively small investigate if you can have an index in place that supports your query.</description>
      <pubDate>Sat, 15 Jul 2017 04:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Most-efficient-way-to-create-subset-from-a-huge-dataset/m-p/376199#M90266</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-07-15T04:06:02Z</dc:date>
    </item>
  </channel>
</rss>

