<?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 Autosave in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604758#M175358</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13600"&gt;@n6&lt;/a&gt; - There are three SAS programming interfaces you can choose from. The one you are using is the SAS Windowing Environment, which is installed by default with Base SAS. This is essentially a legacy interface that is just maintained and does not get any enhancements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two newer interfaces, SAS Studio and SAS Enterprise Guide that are being continuously enhanced. This link will help you learn about these: &lt;A href="https://support.sas.com/software/products/sas-studio/faq/SASStudio_vsEG.htm" target="_blank"&gt;https://support.sas.com/software/products/sas-studio/faq/SASStudio_vsEG.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note you could use either SAS Studio or SEG on a standalone PC, although that usually requires additional installation and configuration.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2019 23:25:51 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-11-16T23:25:51Z</dc:date>
    <item>
      <title>SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604544#M175285</link>
      <description>&lt;P&gt;&lt;BR /&gt;I googled this and it has been addressed before but I still don't get it.&amp;nbsp; This is about autosave.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assumed that if you're working on a program XYZ from folder Q and you have your Tools &amp;gt; Options &amp;gt; Preferences &amp;gt; Edit &amp;gt; Autosave set for every 5 minutes, then it saves your program under the name XYZ in folder Q every 5 minutes.&amp;nbsp; So it saves it at 2:30 and then again at 2:35 and the most work you could lose is 4 minutes worth, if your computer crashed at 2:34.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But apparently that's not so.&amp;nbsp; Instead it seems it autosaves it in some mysterious place on your computer and even then, only if you use Enhanced Editor (which I don't).&amp;nbsp; Can it really be that in 2019 the only way to save your program XYZ in the folder Q is to do it manually every single time?&amp;nbsp; Maybe (Hopefully) I'm wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any info is greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 17:02:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604544#M175285</guid>
      <dc:creator>n6</dc:creator>
      <dc:date>2019-11-15T17:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604546#M175286</link>
      <description>&lt;P&gt;I've never used this feature but with a very long past of programming and losing TONS of work I began using CTRL+S very frequently.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 17:04:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604546#M175286</guid>
      <dc:creator>Krueger</dc:creator>
      <dc:date>2019-11-15T17:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604551#M175288</link>
      <description>&lt;P&gt;Yes, I've discovered that (the hard way, like you) but even for that I have to remember and interrupt my train of thought.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 17:16:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604551#M175288</guid>
      <dc:creator>n6</dc:creator>
      <dc:date>2019-11-15T17:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604555#M175290</link>
      <description>Are you using SAS Foundation/Base? Which version? &lt;BR /&gt;&lt;BR /&gt;I'm fairly certain Studio is saving it in the same place and I know they haven't been developing features in SAS Base/Foundation for about a decade now. Studio and EG are more likely to have the features you want. &lt;BR /&gt;You can also use any other IDE if so inclined, I'm becoming a fan of the Jupyter Notebooks myself.</description>
      <pubDate>Fri, 15 Nov 2019 17:25:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604555#M175290</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-15T17:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604556#M175291</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13600"&gt;@n6&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;BR /&gt;I googled this and it has been addressed before but I still don't get it.&amp;nbsp; This is about autosave.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assumed that if you're working on a program XYZ from folder Q and you have your Tools &amp;gt; Options &amp;gt; Preferences &amp;gt; Edit &amp;gt; Autosave set for every 5 minutes, then it saves your program under the name XYZ in folder Q every 5 minutes.&amp;nbsp; So it saves it at 2:30 and then again at 2:35 and the most work you could lose is 4 minutes worth, if your computer crashed at 2:34.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But apparently that's not so.&amp;nbsp; Instead it seems it autosaves it in some mysterious place on your computer and even then, only if you use Enhanced Editor (which I don't).&amp;nbsp; Can it really be that in 2019 the only way to save your program XYZ in the folder Q is to do it manually every single time?&amp;nbsp; Maybe (Hopefully) I'm wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any info is greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For the PROGRAM window you may want to consider actually setting the AUTOSAVELOC option to path you want. May want that in your Autoexec.sas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find the current setting for the option with:&lt;/P&gt;
&lt;PRE&gt;proc options option=autosaveloc;
run;&lt;/PRE&gt;
&lt;P&gt;If undefined, which I suspect is the default with SAS expecting most users to use the Enhanced Editor that may be why you are having a hard time finding the files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For consistency you might want to point that to&lt;/P&gt;
&lt;PRE&gt;C:\Users\yourusername\AppData\Roaming\SAS\EnhancedEditor&lt;/PRE&gt;
&lt;P&gt;if running on Windows to have all of the autosave go to the same location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 17:27:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604556#M175291</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-11-15T17:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604557#M175292</link>
      <description>&lt;P&gt;I'm just using regular SAS. which I assume is Base SAS.&amp;nbsp; It is Version 9.4 TS Level 1M1.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 17:28:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604557#M175292</guid>
      <dc:creator>n6</dc:creator>
      <dc:date>2019-11-15T17:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604558#M175293</link>
      <description>9.4 M1 is from 2013.</description>
      <pubDate>Fri, 15 Nov 2019 17:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604558#M175293</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-15T17:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604559#M175294</link>
      <description>&lt;P&gt;I've never seen that proc options autosave thing before.&amp;nbsp; Maybe the thing to do would be to put that line at the top of every program you right, with it pointing to where you want to save it.&amp;nbsp; I'm going to have to check to see if that really works.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 17:33:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604559#M175294</guid>
      <dc:creator>n6</dc:creator>
      <dc:date>2019-11-15T17:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604560#M175295</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But how do I make it point to anywhere?&amp;nbsp; And why would I want it to point to Enhanced Editor?&amp;nbsp; Shouldn't I just want it to point the location on my computer where I want to save the program?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 17:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604560#M175295</guid>
      <dc:creator>n6</dc:creator>
      <dc:date>2019-11-15T17:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604642#M175311</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13600"&gt;@n6&lt;/a&gt;&amp;nbsp; - The Autosave feature is there to act as a backup to the primary way you save your program, controlled by explicit manual saving. Would you try and store your disk backups in the same location as your primary storage?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By all means put it in a location more meaningful to you, but it should be in a separate folder to your primary storage. &amp;nbsp; &lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 21:55:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604642#M175311</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-15T21:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604720#M175340</link>
      <description>&lt;P&gt;Okay, with the help of this post I have figured it out.&amp;nbsp; If you run the following and then go to the log window...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc options option=autosaveloc;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;...you just see "AUTOSAVELOC="&amp;nbsp; IOW, it is not being autosaved.&amp;nbsp; So you can specify the location for it using the options autosave= command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Supposed your program is located in the folder C:\Project and is named xyz.sas.&amp;nbsp; Suppose you submit this line&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options autosave = 'c:\Project\xyz.sas';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That tells SAS to autosave your program&amp;nbsp;&amp;nbsp; The frequency with which it will be autosaved can be specified by doingTest &amp;gt; Options &amp;gt; Prefernces &amp;gt; Edit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Having the autosave overwrite it in the same place you're have it might not be desirable.&amp;nbsp; So what I'm going to (try) to get into the habit of doing is, in any folder in which I have a SAS program I'm going to have a subfolder named Autosave_Pgm.&amp;nbsp; And when I start writing a program, I'm going to add the a line at the top that will autosave the program to the Autosave_Pgm.&amp;nbsp; If I get into the habit of doing it when I'm already putting that sort of info at the top of a program (name, purpose, etc) then it will become a habit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What's not clear to me is that whether the option will remain on when I close SAS then open it later.&amp;nbsp; But I can just start making the first line I run each time I open the program be the options autosave line and that should work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So for the above example, I'll run&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options autosave 'C:\Project\Autosave_Pgm\xyz.sas';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;each time I open the program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 18:27:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604720#M175340</guid>
      <dc:creator>n6</dc:creator>
      <dc:date>2019-11-16T18:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604723#M175341</link>
      <description>&lt;P&gt;Okay, but is that necessarily a bad thing?&amp;nbsp; I mean, if I was talking about some new thing then I should expected only newer versions of SAS to be up to date on it, but saving a program is a forever thing.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 18:43:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604723#M175341</guid>
      <dc:creator>n6</dc:creator>
      <dc:date>2019-11-16T18:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604725#M175342</link>
      <description>You're using an older interface, that SAS has stopped adding enhancements and features to 10 years ago. &lt;BR /&gt;SAS Studio and EG have the features you want, that's my point. I don't necessarily agree with it, I'm just explaining why the feature doesn't likely exist. No one is developing enhancements for SAS Base as they're trying to push users to EG or Studio, and the features you want are in those tools since they're more recent.</description>
      <pubDate>Sat, 16 Nov 2019 18:49:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604725#M175342</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-16T18:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604727#M175343</link>
      <description>&lt;P&gt;Okay, so what version of SAS would have I have to get SAS Studio and EG?&amp;nbsp; I would consider doing it if I knew.&amp;nbsp; On one hand I don't want to become someone out of touch with new things but OTOH in the past I've sometimes experienced pain going to a newer version of SAS because things that worked perfectly before sometimes suddenly no longer work.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 18:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604727#M175343</guid>
      <dc:creator>n6</dc:creator>
      <dc:date>2019-11-16T18:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604728#M175344</link>
      <description>&lt;P&gt;I think you a missing a key concept of how autosave works. There are a lot of limitations on what it can do.&amp;nbsp;&amp;nbsp;The main idea is that you can tell SAS to periodically save a copy of whatever you have in the program editor into a specific place.&amp;nbsp; It is not going to try to save the file you are editing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;How would the editor even know what file you are editing?&amp;nbsp; You can open file X with the intent of making changes and saving it as file Y.&amp;nbsp; In that case your would NOT want SAS to make any changes to X.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;By default it just makes a file name &lt;STRONG&gt;pgm.asv&lt;/STRONG&gt;, but you can change that using the options.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lesysoptsref&amp;amp;docsetTarget=n128xkpdyvwv4ln10fg47w21okee.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;AUTOSAVELOC=&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=hostunx&amp;amp;docsetTarget=n158sa1puzov66n195xi4lmeibo5.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;AUTOSAVELOC= (unix)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are also commands for controlling whether/when to autosave:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#n1ob2ez84npwsdn170juatumcx4a.htm" target="_self"&gt;WAUTOSAVE DMS command&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=hostunx&amp;amp;docsetTarget=n0b34ev56ei8myn1awzxvulahvpa.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;SETAUTOSAVE DMS command (unix)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 18:53:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604728#M175344</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-16T18:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604729#M175345</link>
      <description>&lt;P&gt;It seems that it is saving the file I'm editing.&amp;nbsp; I did as I described a few posts ago and it works.&amp;nbsp; I have a subfolder and I point there via options autosave= and then when I change the SAS program I'm working on in the Program Editor, every five minutes it saves it in that subfolder I specified.&amp;nbsp; If I don't change the program at all it doesn't save it, but if I change it, then SAS saves it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just tried it again.&amp;nbsp; The only change I made to the progam in the Program Editor is I hit the return key once.&amp;nbsp; And a few minutes later, it save the program in that subfolder.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 18:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604729#M175345</guid>
      <dc:creator>n6</dc:creator>
      <dc:date>2019-11-16T18:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604731#M175346</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13600"&gt;@n6&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;It seems that it is saving the file I'm editing.&amp;nbsp; I did as I described a few posts ago and it works.&amp;nbsp; I have a subfolder and I point there via options autosave= and then when I change the SAS program I'm working on in the Program Editor, every five minutes it saves it in that subfolder I specified.&amp;nbsp; If I don't change the program at all it doesn't save it, but if I change it, then SAS saves it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just tried it again.&amp;nbsp; The only change I made to the progam in the Program Editor is I hit the return key once.&amp;nbsp; And a few minutes later, it save the program in that subfolder.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Are you using PC SAS? What happens when you have two files open and you make changes to both? Does it save both files to their original location? Does it save both files to the same location so that the last one saved is all that is available?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What if you have one file open in the normal program editor (the one that works on Unix also and supports commands in the line number area) and the "enhanced" editor?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At one point you could point the AUTOSAVELOC to a DIRECTORY but that functionality seems to be missing in the current documentation and I remember that it seemed to change at one point.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 19:07:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604731#M175346</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-16T19:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604733#M175347</link>
      <description>&lt;P&gt;I don't know if I"m using PC SAS.&amp;nbsp; I'm using SAS on a PC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I never have two files open of the same name so that doesn't matter.&amp;nbsp; But what you wrote did make me think of something potentially bad.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. You open SAS and it has default options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. You open program xyz and run the autosave code so that it is going to autosave your xyz.sas program in a certain place.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. You're finished for now with program xyz, so you clear your Program Editor window and then open up program abc instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. But since options hold for your entire SAS session unless you change them, after you start editing program abc, after a few minutes it will autosave abc in wherever the options tells it to, which is where you autosave program xyz.&amp;nbsp; Thus, you could inadvertently overwrite the autosaved version of xyz.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5. If you wanted, you could do a new autosave line for program abc as soon as you opened abc, but it's possible that the clock ticking to do the autosave will hit the limit after you open program abc but before you've submitted the autosave line for program abc, thus saving program abc in the place where program xyz is supposed to be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;6. One way around all this is to close SAS entirely after you're finished working on a program and then re-open it to work on your next program, but that would be a pain and plus you'd probably sometimes forget.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;7. Then again, if the only time you need the autosaved program is when SAS crashes while you're working on a program, then it might be okay.&amp;nbsp; Let it overwrite the autosaved xyz with abc because after I'm done with xyz, I save the main program before clearing the Program Editor window and thus if the autosaved version of xyz gets autosaved over, so what?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 19:18:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604733#M175347</guid>
      <dc:creator>n6</dc:creator>
      <dc:date>2019-11-16T19:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604738#M175351</link>
      <description>It's not an issue of versions, it's the client you use to interface with SAS. SAS Studio does work with SAS 9.4M versions afaik. You just need to install the appropriate thin clients.</description>
      <pubDate>Sat, 16 Nov 2019 20:01:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604738#M175351</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-16T20:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Autosave</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604758#M175358</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13600"&gt;@n6&lt;/a&gt; - There are three SAS programming interfaces you can choose from. The one you are using is the SAS Windowing Environment, which is installed by default with Base SAS. This is essentially a legacy interface that is just maintained and does not get any enhancements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two newer interfaces, SAS Studio and SAS Enterprise Guide that are being continuously enhanced. This link will help you learn about these: &lt;A href="https://support.sas.com/software/products/sas-studio/faq/SASStudio_vsEG.htm" target="_blank"&gt;https://support.sas.com/software/products/sas-studio/faq/SASStudio_vsEG.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note you could use either SAS Studio or SEG on a standalone PC, although that usually requires additional installation and configuration.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 23:25:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Autosave/m-p/604758#M175358</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-16T23:25:51Z</dc:date>
    </item>
  </channel>
</rss>

