<?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: Computer crashed, SAS program file lost all content but remained the same size in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596871#M171923</link>
    <description>&lt;P&gt;There's nothing in that file, literally. It is just one big heap of hex 00's.&lt;/P&gt;
&lt;P&gt;This looks like some kind of privacy software went over temporary files (on shutdown) to overwrite them with "nothing".&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 13:24:19 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-10-16T13:24:19Z</dc:date>
    <item>
      <title>Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596171#M171613</link>
      <description>&lt;P&gt;Hi, I need help with a technical issue. My computer automatically shut down while I was coding in SAS Studio. I saved part of my code before the shutdown. But when I re-opened the file, all the contents were gone, but if I check the file size, it is about the same size as an old version. Can someone teach me how to recover the file to the last saved version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 07:15:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596171#M171613</guid>
      <dc:creator>Lifang</dc:creator>
      <dc:date>2019-10-14T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596178#M171617</link>
      <description>&lt;P&gt;How did you store your program? .sas files are pure text and can be opened with any text editor for checking.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 08:07:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596178#M171617</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-14T08:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596179#M171618</link>
      <description>&lt;P&gt;All depends where SAS Studio is running and where you have saved the program. So please add information about the environment you are working in.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 08:08:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596179#M171618</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-10-14T08:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596396#M171710</link>
      <description>And if you have autosaved enabled. If so, there's a version hanging around somewhere. If you're using UE you're likely hooped because you won't have access to the location where the files were saved. If you're working on an Enterprise environment you may have access to it, assuming you had autosave enabled.</description>
      <pubDate>Tue, 15 Oct 2019 00:09:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596396#M171710</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-15T00:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596409#M171715</link>
      <description>&lt;P&gt;I stored it as xx.sas. I opened the file with a text editor, nothing changed. Still empty. The strange thing is that the size of the file suggests it should not be an empty file.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 02:44:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596409#M171715</guid>
      <dc:creator>Lifang</dc:creator>
      <dc:date>2019-10-15T02:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596410#M171716</link>
      <description>I am using SAS Studio single-user version, which is part of SAS 9.4 I have recently installed. Would this information help?</description>
      <pubDate>Tue, 15 Oct 2019 02:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596410#M171716</guid>
      <dc:creator>Lifang</dc:creator>
      <dc:date>2019-10-15T02:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596411#M171717</link>
      <description>I am using the enterprise environment. I will look into it. Thanks.</description>
      <pubDate>Tue, 15 Oct 2019 02:47:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596411#M171717</guid>
      <dc:creator>Lifang</dc:creator>
      <dc:date>2019-10-15T02:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596418#M171718</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;gt;&lt;EM&gt; you won't have access to the location where the files were saved&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Not even with a data step using infile ? Is this location known?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 03:12:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596418#M171718</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-10-15T03:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596569#M171786</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You can find the files in a folder such as:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;C:\Documents and Settings\PURMAH\Application Data\SAS\EnhancedEditor&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;File should be somewhere in a location like that. You'll likely have multiple folders and will have to find which one matches your previous session. Any session that crashes would have left files behind.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;More details here:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&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;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/278953"&gt;@Lifang&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I am using the enterprise environment. I will look into it. Thanks.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:44:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596569#M171786</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-15T15:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596578#M171790</link>
      <description>&lt;P&gt;Do you have a file with ~ tacked onto the name?&amp;nbsp; So if your file was named myfile.sas is there another file named myfile.sas~ in the same directory?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note if you use Windows Explorer to look at files there are setting that can be set that hide the extension (part of the name after the last period).&amp;nbsp; Personally I always turn off that option as I want to see the full name of the files.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:59:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596578#M171790</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-10-15T15:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596774#M171872</link>
      <description>&lt;P&gt;I did locate the EnhancedEditor folder but was not able to find the file there. I realized that I have saved the log of running most of the code before my computer shut down, so I was able to recover my code from the log. Thanks for your help. It would be nice to know why the original file turned blank.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 08:32:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596774#M171872</guid>
      <dc:creator>Lifang</dc:creator>
      <dc:date>2019-10-16T08:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596775#M171873</link>
      <description>No, there is no such file in the same directory.</description>
      <pubDate>Wed, 16 Oct 2019 08:33:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596775#M171873</guid>
      <dc:creator>Lifang</dc:creator>
      <dc:date>2019-10-16T08:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596776#M171874</link>
      <description>&lt;P&gt;EG does have a (bad) habit of destroying files when the connection to the storage is unreliable. I've witnessed several cases where .egp files were trashed that were opened on a workspace server, and where the connection died.&lt;/P&gt;
&lt;P&gt;Similar things might happen if EG crashes fatally when it wants to rewrite a file's contents. File is already re-initialized, but further write fails.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 08:36:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596776#M171874</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-16T08:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596778#M171876</link>
      <description>EG also loses the connection with the server and becomes unusable at the first opportunity, such as if the wifi's signal strength drops a bit.It should be rewritten or taken behind the barn.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Oct 2019 08:57:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596778#M171876</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-10-16T08:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596779#M171877</link>
      <description>Okay, I see. So it happens sometimes.</description>
      <pubDate>Wed, 16 Oct 2019 09:02:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596779#M171877</guid>
      <dc:creator>Lifang</dc:creator>
      <dc:date>2019-10-16T09:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596782#M171879</link>
      <description>&lt;P&gt;Might be a shortcoming in the IOM protocol that is not robust against short connection drops or timeouts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When working from the home office, EG often loses connection to servers, while the venerable (in fact ANCIENT) X-Windows over an openssh tunnel never does experience more than a slight delay.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 09:12:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596782#M171879</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-16T09:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596783#M171880</link>
      <description>A way to avoid losing programs is to store them in external text files rather than in egp project files.&lt;BR /&gt;This is much less required than with earlier versions of EG but still a good precaution. &lt;BR /&gt;</description>
      <pubDate>Wed, 16 Oct 2019 09:12:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596783#M171880</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-10-16T09:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596784#M171881</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;A way to avoid losing programs is to store them in external text files rather than in egp project files.&lt;BR /&gt;This is much less required than with earlier versions of EG but still a good precaution. &lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;VERY solid advice. Everything important that I have created is stored as a .sas file on the server (AIX on top, so a VERY stable operating system).&lt;/P&gt;
&lt;P&gt;Project files are always kept on internal desktop disks while I work on them. Only when I'm finished for the day I do copies to remote locations.&lt;/P&gt;
&lt;P&gt;And I do "save early, save often". Every few lines of coding I hit the "store everything" button in EG.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 09:18:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596784#M171881</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-16T09:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596788#M171882</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16120"&gt;@Kurt&lt;/a&gt; Maybe this is important enough to deserve its own Maxim.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Oct 2019 09:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596788#M171882</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-10-16T09:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Computer crashed, SAS program file lost all content but remained the same size</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596791#M171883</link>
      <description>I did save it as a .sas file on my local disk. The problem is that the file turned blank after it got interrupted by the shutdown of my computer, which is odd given that it does have a size of 14KB. Anyway, I agree that the points raised by you and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt; are important. Thanks.</description>
      <pubDate>Wed, 16 Oct 2019 09:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Computer-crashed-SAS-program-file-lost-all-content-but-remained/m-p/596791#M171883</guid>
      <dc:creator>Lifang</dc:creator>
      <dc:date>2019-10-16T09:31:31Z</dc:date>
    </item>
  </channel>
</rss>

