<?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: &amp;quot;ERROR: Rename of temporary member for.......failed&amp;quot; error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157803#M30816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it has the same name. Ah--that would be the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Nov 2013 17:49:38 GMT</pubDate>
    <dc:creator>Paul_NYS</dc:creator>
    <dc:date>2013-11-29T17:49:38Z</dc:date>
    <item>
      <title>"ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157795#M30808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am getting the below error when I run a specific program. I did not get this in the past with it. I have run into this with other programs previously, but do not remember what I did to resolve it. I have seen other posts on this error and tried some of the recommendations: permission on directory, disk space, anti-virus running, but none resolved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas outside of the above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Rename of temporary member for WORK.PREFREEFINAL.DATA failed.&lt;/P&gt;&lt;P&gt; File may be found in C:\Users\pdrezelo\AppData\Local\Temp\SEG5748\SAS Temporary Files\_TD5900_COHD_2UA107126J_\Prc2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 21:49:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157795#M30808</guid>
      <dc:creator>Paul_NYS</dc:creator>
      <dc:date>2013-11-27T21:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157796#M30809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 21:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157796#M30809</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-11-27T21:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157797#M30810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is the block of code from the log that immediately precedes it. I am also attaching the entire program as a document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MPRINT(PREFREE):&amp;nbsp; ** merge number pop with data file**;&lt;/P&gt;&lt;P&gt;MPRINT(PREFREE):&amp;nbsp; proc sort data=prefreeFinal;&lt;/P&gt;&lt;P&gt;MPRINT(PREFREE):&amp;nbsp; by County Year HearingNumber;&lt;/P&gt;&lt;P&gt;MPRINT(PREFREE):&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: There were 740880 observations read from the data set WORK.PREFREEFINAL.&lt;/P&gt;&lt;P&gt;NOTE: The data set WORK.PREFREEFINAL has 740880 observations and 9 variables.&lt;/P&gt;&lt;P&gt;ERROR: Rename of temporary member for WORK.PREFREEFINAL.DATA failed.&lt;/P&gt;&lt;P&gt;File may be found in C:\Users\pdrezelo\AppData\Local\Temp\SEG5748\SAS Temporary Files\_TD5900_COHD_2UA107126J_\Prc2.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SORT used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.17 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.01 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 22:00:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157797#M30810</guid>
      <dc:creator>Paul_NYS</dc:creator>
      <dc:date>2013-11-27T22:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157798#M30811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="4516" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 22:21:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157798#M30811</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-11-27T22:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157799#M30812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried writing to a new dataset with the OUT=&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 22:40:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157799#M30812</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-11-27T22:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157800#M30813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Writing out to out= may have been it actually. I will try that Friday morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 03:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157800#M30813</guid>
      <dc:creator>Paul_NYS</dc:creator>
      <dc:date>2013-11-28T03:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157801#M30814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried adding 'out=' statements to all my proc sort steps and it did not work--same error. However, I do believe this has worked in another instance previously, so I don't understand why this is different. I have also tried some of the items mentioned in other posts: permission on directory, disk space, anti-virus running, but none resolved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has any further insights, let me know. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 14:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157801#M30814</guid>
      <dc:creator>Paul_NYS</dc:creator>
      <dc:date>2013-11-29T14:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157802#M30815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your out= dataset have a new/different name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 15:40:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157802#M30815</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-11-29T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157803#M30816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it has the same name. Ah--that would be the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 17:49:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157803#M30816</guid>
      <dc:creator>Paul_NYS</dc:creator>
      <dc:date>2013-11-29T17:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157804#M30817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, can't replace it. I'm guessing that you're working with relatively big files and running out of something somewhere, RAM, Disk Space, Workspace or something. You may be able to figure it out by running with task manager up if you're on Windows. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 18:50:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157804#M30817</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-11-29T18:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157805#M30818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They are the biggest files I run, but not obnoxiously large--I wouldn't think. Regardless, I will try Task Manager. The alternative is to run the macro in separate iterations for each loop. That is very tedious, but I don't get the error that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would rather not go through the program and re-name every 'out=' statement with something different because the output files are obviously used in subsequent processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 22:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157805#M30818</guid>
      <dc:creator>Paul_NYS</dc:creator>
      <dc:date>2013-11-29T22:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: "ERROR: Rename of temporary member for.......failed" error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157806#M30819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I understand this a rename requires almost no resources so I don't believe that this issue is caused by any "running out of something".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing a bit of research all cases I found where caused by some 3rd party products/processes actually locking the temporary file at exactly the time when the rename should have happened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would probably first look into the setting of your virus scanner and eventually exclude some of the SAS file extensions:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/viewer.htm#n0sk6o15955yoen19n9ghdziqw1u.htm" title="http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/viewer.htm#n0sk6o15955yoen19n9ghdziqw1u.htm"&gt;SAS(R) 9.3 Companion for Windows&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The extensions for the temporary files before a rename have a suffix of ".lck", eg. "mytable.sas7bdat.lck"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if Windows indexing services could also lock your table. Indexing your SAS Work area wouldn't make sense so make sure it's excluded from indexing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Nov 2013 00:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-ERROR-Rename-of-temporary-member-for-failed-quot-error/m-p/157806#M30819</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-11-30T00:22:17Z</dc:date>
    </item>
  </channel>
</rss>

