<?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 9.4 incredibly slow to import/sort Stata data file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/461361#M117356</link>
    <description>&lt;P&gt;Are you reloading Stata data that you had imported previously or is this a new data set?&lt;/P&gt;
&lt;P&gt;I am asking because it almost sounds like you might be reading the same data source repeatedly which sounds inefficient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other things about your environment might have an impact. When you upgraded the SAS version did you move to a server version from stand-alone (or vice versa).&lt;/P&gt;
&lt;P&gt;How much free memory do you have? I might be that your Windows10 set up isn't allowing as much memory for SAS if you upgraded OS software but no hardware.&lt;/P&gt;
&lt;P&gt;Is network connectivity involved any where in the process?&lt;/P&gt;</description>
    <pubDate>Thu, 10 May 2018 16:00:17 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-05-10T16:00:17Z</dc:date>
    <item>
      <title>SAS 9.4 incredibly slow to import/sort Stata data file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/461323#M117338</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My computer was recently upgraded to windows 10, so I changed over to SAS 9.4. Originally I had Windows 7 and was using SAS 9.3. I'm&amp;nbsp;trying to import and sort a 2GB stata dataset that used to load in about 1-2 minutes with Windows7/SAS 9.3, Now it takes over 8 minutes.&amp;nbsp;And then after it's imported, trying to merge this with any other dataset takes significantly more time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using data steps, not proc SQL since I'm old school and haven't converted over yet &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Could this be the problem? Any suggestions?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;Jen&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 15:06:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/461323#M117338</guid>
      <dc:creator>jsmall</dc:creator>
      <dc:date>2018-05-10T15:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 incredibly slow</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/461335#M117342</link>
      <description>&lt;P&gt;Strange. I think we need more details. Posting your code would be good. For example, are you sorting by numerical variables or character? Are the characters variables encoded in WLATIN1 or something else?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 14:46:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/461335#M117342</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-05-10T14:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 incredibly slow</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/461344#M117347</link>
      <description>&lt;P&gt;The log would help too.&amp;nbsp; I assume you're using PROC IMPORT with DBMS=dta.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your SAS session encoding might be a factor -- if SAS has to transcode from Latin1 to UTF-8.&amp;nbsp; Check the encoding with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC OPTIONS group=languagecontrol; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And is it the Import step or the Sort step that takes longer -- or both?&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 15:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/461344#M117347</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-05-10T15:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 incredibly slow to import/sort Stata data file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/461361#M117356</link>
      <description>&lt;P&gt;Are you reloading Stata data that you had imported previously or is this a new data set?&lt;/P&gt;
&lt;P&gt;I am asking because it almost sounds like you might be reading the same data source repeatedly which sounds inefficient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other things about your environment might have an impact. When you upgraded the SAS version did you move to a server version from stand-alone (or vice versa).&lt;/P&gt;
&lt;P&gt;How much free memory do you have? I might be that your Windows10 set up isn't allowing as much memory for SAS if you upgraded OS software but no hardware.&lt;/P&gt;
&lt;P&gt;Is network connectivity involved any where in the process?&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 16:00:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/461361#M117356</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-05-10T16:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 incredibly slow to import/sort Stata data file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/462421#M117726</link>
      <description>&lt;P&gt;Thanks everyone, something was going on with Windows 10, it was storing my temporary programs in my C drive, which used up all my memory.&amp;nbsp;I didn't encounter these problems at all with Windows 7, so instead of working with IT who know nothing about SAS, I just decided to go back to Windows 7-seemed like the quickest, easiest solution for now.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 16:57:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/462421#M117726</guid>
      <dc:creator>jsmall</dc:creator>
      <dc:date>2018-05-15T16:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 incredibly slow to import/sort Stata data file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/462428#M117727</link>
      <description>&lt;P&gt;Thankfully you didn't have to revert to Windows XP &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In future, one thing to check is the TEMP and/or TMP environment variable, which you can control in&amp;nbsp;System Properties, Environment Variables settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmp.png" style="width: 412px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20532i6A530DE7D0809784/image-size/large?v=v2&amp;amp;px=999" role="button" title="tmp.png" alt="tmp.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most apps, including SAS, take their cue for the "temp space" root from one of those environment variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="up_temp.png" style="width: 595px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20534i37C6B192CEC1B378/image-size/large?v=v2&amp;amp;px=999" role="button" title="up_temp.png" alt="up_temp.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your upgrade to Windows 10 might have affect that, or it might have changed the %USERPROFILE% location which in turn affects the Temp space.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 17:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/462428#M117727</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-05-15T17:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 incredibly slow to import/sort Stata data file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/462430#M117729</link>
      <description>Yes! I'm having issues with the user profile! I didn't realize I was getting these error messages- any idea what's going on?:&lt;BR /&gt;NOTE: SASUSER.PROFILE.CATALOG does not exist and is being created from&lt;BR /&gt;NOTE: SASUSER.PROFBAK.CATALOG.&lt;BR /&gt;&lt;BR /&gt;NOTE: SASUSER.PROFBAK.CATALOG has been copied to SASUSER.PROFILE.CATALOG.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 May 2018 17:29:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/462430#M117729</guid>
      <dc:creator>jsmall</dc:creator>
      <dc:date>2018-05-15T17:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 incredibly slow to import/sort Stata data file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/462431#M117730</link>
      <description>&lt;P&gt;That's different and might not be related.&amp;nbsp; The SASUSER.PROFILE contains your SAS settings for things like key mappings, window layout, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's not present or corrupted, SAS creates a new one. &lt;A href="http://go.documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=n0okpfz7fuuzpsn1hhvtvyehg9j3.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;See the doc&lt;/A&gt;&amp;nbsp;about how that works.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 17:34:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-4-incredibly-slow-to-import-sort-Stata-data-file/m-p/462431#M117730</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-05-15T17:34:52Z</dc:date>
    </item>
  </channel>
</rss>

