<?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: How to recover unsaved codes? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/340409#M63244</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;had you changed the extension &amp;nbsp;from .$as to .SAS &amp;nbsp;(&lt;STRONG&gt;after copying it to another location&lt;/STRONG&gt; so as not damage the original file) you could have opened normally as any other sas program (because you said that you had to use a text editor).&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2017 13:37:37 GMT</pubDate>
    <dc:creator>atzamis</dc:creator>
    <dc:date>2017-03-13T13:37:37Z</dc:date>
    <item>
      <title>How to recover unsaved codes?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/59053#M16608</link>
      <description>Hi there:&lt;BR /&gt;
&lt;BR /&gt;
Accidentally closed my SAS session. Did not save anything before this happened unexpectedly. (Yes I should have, even as a new SAS user! Was too absorbed following along the SAS online training...) &lt;BR /&gt;
&lt;BR /&gt;
Is there any hope to recover my SAS code, or even just the log? (I'm using windows xp...)&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to have SAS autosave the codes like in Excel?&lt;BR /&gt;
&lt;BR /&gt;
Thank you. I will try to remember my lesson but might not succeed all the time.</description>
      <pubDate>Sun, 01 Aug 2010 19:10:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/59053#M16608</guid>
      <dc:creator>mnew</dc:creator>
      <dc:date>2010-08-01T19:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to recover unsaved codes?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/59054#M16609</link>
      <description>Short answer: Maybe.&lt;BR /&gt;
&lt;BR /&gt;
Enhanced Editor code is saved every 10 minutes (by default).  The location is hard to remember, but is described in &lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/12/392.html" target="_blank"&gt;http://support.sas.com/kb/12/392.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
You can change the location using the autosaveloc= system option.</description>
      <pubDate>Mon, 02 Aug 2010 03:30:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/59054#M16609</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-08-02T03:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to recover unsaved codes?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/59055#M16610</link>
      <description>Thank you!&lt;BR /&gt;
The short story is I was able to recover the codes. &lt;BR /&gt;
In case this might help someone in the future, here is the long report.&lt;BR /&gt;
&lt;BR /&gt;
I went to the support link. Almost gave up my hope as I read "Note that the backup files are deleted when the Enhanced Editor window containing the SAS program code is closed or you exit SAS. "  &lt;BR /&gt;
&lt;BR /&gt;
But I was still curious about the file location. Followed the instruction and found the $AS file. Tried to open it with SAS. Got an error message telling me the file did not exist...&lt;BR /&gt;
&lt;BR /&gt;
In the end found out I could open it with text editor programs (notepad etc).&lt;BR /&gt;
Happy ending.</description>
      <pubDate>Mon, 02 Aug 2010 22:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/59055#M16610</guid>
      <dc:creator>mnew</dc:creator>
      <dc:date>2010-08-02T22:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to recover unsaved codes?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/340393#M63242</link>
      <description>it worked, thanks</description>
      <pubDate>Mon, 13 Mar 2017 12:49:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/340393#M63242</guid>
      <dc:creator>shahadatunina</dc:creator>
      <dc:date>2017-03-13T12:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to recover unsaved codes?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/340409#M63244</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;had you changed the extension &amp;nbsp;from .$as to .SAS &amp;nbsp;(&lt;STRONG&gt;after copying it to another location&lt;/STRONG&gt; so as not damage the original file) you could have opened normally as any other sas program (because you said that you had to use a text editor).&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 13:37:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-recover-unsaved-codes/m-p/340409#M63244</guid>
      <dc:creator>atzamis</dc:creator>
      <dc:date>2017-03-13T13:37:37Z</dc:date>
    </item>
  </channel>
</rss>

