<?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: keep losing data in SAS work session in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613469#M179160</link>
    <description>&lt;P&gt;Thanks for helping but I am not using remote SAS server&lt;/P&gt;</description>
    <pubDate>Sun, 22 Dec 2019 23:49:15 GMT</pubDate>
    <dc:creator>rci_zackyoung</dc:creator>
    <dc:date>2019-12-22T23:49:15Z</dc:date>
    <item>
      <title>keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613439#M179143</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got into a strange problem with my SAS session. Everything is fine right after I run the code and created data. However, when the SAS session is idle for a long time (say overnight), then I can still see the work directory file name and file size. But there is no data when I click on the data file to open it. Could anyone tell me what is going on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Zack&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 15:51:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613439#M179143</guid>
      <dc:creator>rci_zackyoung</dc:creator>
      <dc:date>2019-12-22T15:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613444#M179147</link>
      <description>&lt;P&gt;Are you using SAS UE or SAS Studio? If so, the session may be restarting without you realizing it due to timeout or connectivity issues.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either way, save your work to a permanent library.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see the settings for timeouts in preferences and change it, but it's still a risk in a browser based app. If you refresh the page accidentally you may lose the connection entirely.&amp;nbsp;&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/304480"&gt;@rci_zackyoung&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got into a strange problem with my SAS session. Everything is fine right after I run the code and created data. However, when the SAS session is idle for a long time (say overnight), then I can still see the work directory file name and file size. But there is no data when I click on the data file to open it. Could anyone tell me what is going on?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Zack&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 17:25:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613444#M179147</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-12-22T17:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613447#M179149</link>
      <description>&lt;P&gt;If you are using a remote SAS server then firewall timeout rules would explain the behaviour you are seeing. Talk to your SAS administrator if you think this might be happening.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 18:53:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613447#M179149</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-12-22T18:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613452#M179150</link>
      <description>&lt;P&gt;Do you have some type of clean up job that removes "old" files from the disk where your WORK directory is?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 21:55:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613452#M179150</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-12-22T21:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613468#M179159</link>
      <description>&lt;P&gt;Thanks so much for help. It's a regular sas license, not UE or SAS Studio. The strange thing is that it also starts happening recently. When you say preferences you mean I should go to SAS tool bar&amp;nbsp;&amp;nbsp;&amp;nbsp; Tools&amp;nbsp; -&amp;gt;&amp;nbsp; Options&amp;nbsp; -&amp;gt; Preferences&amp;nbsp; but I cannot see timeout choice there. Thanks again.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 23:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613468#M179159</guid>
      <dc:creator>rci_zackyoung</dc:creator>
      <dc:date>2019-12-22T23:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613469#M179160</link>
      <description>&lt;P&gt;Thanks for helping but I am not using remote SAS server&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 23:49:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613469#M179160</guid>
      <dc:creator>rci_zackyoung</dc:creator>
      <dc:date>2019-12-22T23:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613470#M179161</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304480"&gt;@rci_zackyoung&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks so much for help. It's a regular sas license, not UE or SAS Studio. The strange thing is that it also starts happening recently. When you say preferences you mean I should go to SAS tool bar&amp;nbsp;&amp;nbsp;&amp;nbsp; Tools&amp;nbsp; -&amp;gt;&amp;nbsp; Options&amp;nbsp; -&amp;gt; Preferences&amp;nbsp; but I cannot see timeout choice there. Thanks again.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Are you running SAS on your PC? Or on some larger company wide machine, such as a Unix machine or a Windows Server machine?&lt;/P&gt;
&lt;P&gt;In either case is there any software running that will "clean" the directory where the WORK libraries live?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 23:49:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613470#M179161</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-12-22T23:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613472#M179162</link>
      <description>&lt;P&gt;No I don't have that. This also never happened before. Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 23:50:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613472#M179162</guid>
      <dc:creator>rci_zackyoung</dc:creator>
      <dc:date>2019-12-22T23:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613474#M179164</link>
      <description>it's a personal PC. I am wondering if there is a virus on my PC. How can I tell if there is any software running that will "clean" the directory. In any case I never set one</description>
      <pubDate>Sun, 22 Dec 2019 23:54:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613474#M179164</guid>
      <dc:creator>rci_zackyoung</dc:creator>
      <dc:date>2019-12-22T23:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613496#M179174</link>
      <description>&lt;P&gt;IT departments often have periodic cleanup jobs on desktop PC's active, to prevent overflows and the accumulation of unwanted/undetected data buckets whith personal information (GDPR!). Since desktop SAS uses the temporary spaces where such programs are most active, talk to your IT people to get more information, and create data that you want to keep outside of your WORK.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 09:16:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613496#M179174</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-23T09:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613552#M179191</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304480"&gt;@rci_zackyoung&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks so much for help. It's a regular sas license, not UE or SAS Studio. The strange thing is that it also &lt;STRONG&gt;starts happening recently&lt;/STRONG&gt;. When you say preferences you mean I should go to SAS tool bar&amp;nbsp;&amp;nbsp;&amp;nbsp; Tools&amp;nbsp; -&amp;gt;&amp;nbsp; Options&amp;nbsp; -&amp;gt; Preferences&amp;nbsp; but I cannot see timeout choice there. Thanks again.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When something odd starts happening then often the first thing is to determine what may have changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is involved in an organization that sets rules and security for your computer then you likely really need to check with the staff that does such things to find what "recent changes" to protocols or software have been made.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MY IT department added a "security" program that made the SAS online help links become "network errors" for locally installed Help files.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 16:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613552#M179191</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-12-23T16:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613564#M179198</link>
      <description>&lt;P&gt;Hi, Zack&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does your "&lt;SPAN&gt;there is no data&lt;/SPAN&gt;" mean that the file is missing, or is there a file but no data and a message when opening the dataset?&lt;/P&gt;&lt;P&gt;And where is your work library?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is "%TEMP%\SAS Temporary Files"?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 16:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613564#M179198</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2019-12-23T16:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613587#M179213</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304480"&gt;@rci_zackyoung&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know if the whole work folder is gone, the sas data sets are gone, or SAS somehow lost contact with the work library?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the data set isn't there when you try to open it from the SAS Explorer, then submit this string in the program editor:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;%put %sysfunc(getoption(work));&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it will write the full path to the current work folder in the log, like:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt; C:\Users\erlu\AppData\Local\Temp\SAS Temporary Files\_TD14580_C25865_&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try also to create a new data set in the work folder, and check if that works, and the new data set becomes visible in the SAS Explorer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then copy the path down to, but not including, the current folder (_TDnnn...) and paste it into Windows Explorer, Check content of the current work folder, and see when the current folder was created. Check also wherher there are any older&amp;nbsp; _TDnn-&amp;nbsp;folders in the SAS Temporary Files-folder. Finally check if any of the older folders contains the data set you see in SAS Explorer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will not explain the weird behaviour, but at least put some light on what really happens overnight on your computer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 17:41:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613587#M179213</guid>
      <dc:creator>ErikLund_Jensen</dc:creator>
      <dc:date>2019-12-23T17:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613655#M179238</link>
      <description>&lt;P&gt;Hi Kawakami,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for help. The situation is like this: I started a SAS session and created some data file in my work directory, and then I kept my SAS session idle for a relatively long time (say overnight). The next time when I looked at my work directory, all the file names are still there with file size as if the datafile is still there. But when I click on the file name it says "the file does not exist" and when I go to the SAS temporary Files directory, I cannot see any file there.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 01:28:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613655#M179238</guid>
      <dc:creator>rci_zackyoung</dc:creator>
      <dc:date>2019-12-24T01:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613656#M179239</link>
      <description>&lt;P&gt;Hi Thanks for help.&lt;/P&gt;&lt;P&gt;The SAS Temporary Files &amp;gt;_TD***&amp;nbsp; directory is there but the files I originally created are not there. When I create a new file as you mentioned I can see it.&amp;nbsp; I guess my computer is set in such a way so that after certain time period the files in Temporary directory is being deleted. Is there a place I can set this parameter to be longer?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 01:31:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613656#M179239</guid>
      <dc:creator>rci_zackyoung</dc:creator>
      <dc:date>2019-12-24T01:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613659#M179241</link>
      <description>&lt;P&gt;Isn't the SAS Temporary folder a network drive, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By Windows specification, network drives are disconnected after 15 minutes of idle time (by default). This is the case when there is a red cross in the PC list of Explorer. (See below)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot_20191224-104703.png" style="width: 252px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35025i8E698BC3F54BDA05/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot_20191224-104703.png" alt="screenshot_20191224-104703.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This restores the connection if you access it in Windows Explorer, but SAS does not automatically reconnect to the disconnected network drive in the session, so you will not be able to access your files.&lt;BR /&gt;I suspect this may be the case.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 01:55:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613659#M179241</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2019-12-24T01:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: keep losing data in SAS work session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613702#M179265</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304480"&gt;@rci_zackyoung&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Thanks for help.&lt;/P&gt;
&lt;P&gt;The SAS Temporary Files &amp;gt;_TD***&amp;nbsp; directory is there but the files I originally created are not there. When I create a new file as you mentioned I can see it.&amp;nbsp; I guess my computer is set in such a way so that after certain time period the files in Temporary directory is being deleted. Is there a place I can set this parameter to be longer?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In my experience, this is not natural Windows behavior. Talk with your IT people about it.&lt;/P&gt;
&lt;P&gt;And store your files from long-running jobs in a permanent library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thinking further about it: are you running out of space on your C: drive? It might be that Windows cleans up anything it can just to stay alive.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 07:46:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-losing-data-in-SAS-work-session/m-p/613702#M179265</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-24T07:46:40Z</dc:date>
    </item>
  </channel>
</rss>

