<?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: Fixing .SAS file associations with SAS 9.4 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/469242#M13367</link>
    <description>&lt;P&gt;Maybe I am misunderstanding your point here, however SAS Base - i.e. a locally installed SAS to the machine should be easily able to open SAS files just by associating the file type with the application - much the same as you would do with any other application.&amp;nbsp; If it does not do this automatically, or you want to change it, right click on a .sas file, select Open With.&amp;nbsp; Then find the SAS application and make sure that set as default is checked.&amp;nbsp; Should work fine from there.&amp;nbsp; Really wouldn't go editing registry and such like for something so simple?&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2018 13:58:27 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-06-11T13:58:27Z</dc:date>
    <item>
      <title>Fixing .SAS file associations with SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/469233#M13366</link>
      <description>&lt;P&gt;Posting this, in the hope that it helps someone else, and if it happens to me again in a year's time,&amp;nbsp;I don't go on the same wild goose chase trying to fix it.&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SAS 9.4, I lost the ability to launch a .SAS file in the editor window by double-clicking on it in Windows Explorer. Whilst there are lots of potential solutions online, most of them&amp;nbsp;cater for issues on&amp;nbsp;9.2 or 9.3 which tell you to run the &lt;EM&gt;SAS File Type Management Tool&lt;/EM&gt;, which no longer exists in 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For 9.4 you can now fix the issue using the &lt;EM&gt;Manage File Types Utility&lt;/EM&gt; in the &lt;EM&gt;SAS Deployment Manager&lt;/EM&gt;. However, this didn't work for me, as the Deployment Manager was just hanging when running. Apparently, this is due to the issue described in &lt;A href="http://support.sas.com/kb/57/391.html" target="_self"&gt;Problem Note 57391: The Manage SAS File Types utility in the SAS® Deployment Manager fails to associate default products in SAS® 9.4&lt;/A&gt;. The fix in the KB article didn't work for me either, as the &lt;EM&gt;reinstall BASE SAS&lt;/EM&gt; option wasn't available in my setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By far the most useful information to help me find the solution was in &lt;A href="http://support.sas.com/resources/papers/proceedings13/115-2013.pdf" target="_blank"&gt;Double-Clicking a SAS® File: What Happens Next?&lt;/A&gt;&amp;nbsp;(although again, it is aimed at 9.2 / 9.3 rather than 9.4.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What fixed it for me was the following. (This assumes that you have access to, and are comfortable with modifying your Windows registry):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Deleted the &lt;EM&gt;UserChoice&lt;/EM&gt; registry key as discussed in the Double-clicking paper.&lt;/LI&gt;&lt;LI&gt;Running the &lt;EM&gt;SASFileTypeRegFix.reg&lt;/EM&gt; registry fix as discussed in the paper.&lt;/LI&gt;&lt;LI&gt;Using the windows registry editor. (Modify at your own risk, take a back-up before modifying):&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;Browse to &lt;STRONG&gt;HKEY_CLASSES_ROOT\SAS.Program.701\shell&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Have a look and see if there is a populated value for the following key:&lt;BR /&gt;&lt;STRONG&gt;HKEY_CLASSES_ROOT\SAS.Program.701\shell\OpenwithSAS940\command&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;If there is, copy the value from here, and paste it over the existing value in&lt;BR /&gt;&lt;STRONG&gt;HKEY_CLASSES_ROOT\SAS.Program.701\shell\Open\command&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;For 9.4 the value that works for me is as follows:&lt;BR /&gt;&lt;STRONG&gt;"C:\Program Files\SASHome\SASFoundation\9.4\core\sasexe\sasoact.exe" action=Open datatype=SASFile filename="%1" progid=SAS.Application.940&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Your situation may differ. You may have to create the keys/ subkeys from scratch. You may not have a &lt;STRONG&gt;OpenwithSAS940&lt;/STRONG&gt; key to copy from. But there should be enough in the above to get you on your way.&lt;/LI&gt;&lt;/UL&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Regedit screen" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21150i780980DFF5E02941/image-size/large?v=v2&amp;amp;px=999" role="button" title="regedit_example.png" alt="Regedit screen" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Regedit screen&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 13:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/469233#M13366</guid>
      <dc:creator>basinbasin</dc:creator>
      <dc:date>2018-06-11T13:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing .SAS file associations with SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/469242#M13367</link>
      <description>&lt;P&gt;Maybe I am misunderstanding your point here, however SAS Base - i.e. a locally installed SAS to the machine should be easily able to open SAS files just by associating the file type with the application - much the same as you would do with any other application.&amp;nbsp; If it does not do this automatically, or you want to change it, right click on a .sas file, select Open With.&amp;nbsp; Then find the SAS application and make sure that set as default is checked.&amp;nbsp; Should work fine from there.&amp;nbsp; Really wouldn't go editing registry and such like for something so simple?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 13:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/469242#M13367</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-06-11T13:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing .SAS file associations with SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/638439#M18679</link>
      <description>&lt;P&gt;Thanks for posting. I had a similar problem and was able to use this information to fix it. My solution was a little different, but the steps I followed were:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Deleted the &lt;EM&gt;UserChoice&lt;/EM&gt; registry key as discussed in the Double-clicking paper.&lt;/P&gt;
&lt;UL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Mine was located here: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.sas\UserChoice&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;2. Running the &lt;EM&gt;SASFileTypeRegFix.reg&lt;/EM&gt; registry fix as discussed in the paper.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;downloaded and ran that file.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;3. Using the windows registry editor. (Modify at your own risk, take a back-up before modifying):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Browse to HKEY_CLASSES_ROOT\SAS.Program.701\shell\OpenwithSAS940\command
&lt;UL&gt;
&lt;LI&gt;Change value to:
&lt;UL&gt;
&lt;LI&gt;"C:\Program Files\SASHome\SASFoundation\9.4\core\sasexe\sasoact.exe" action=Open datatype=SASFile filename="%1" progid=SAS.Application.940&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Browse to HKEY_CLASSES_ROOT\SAS.Program.701\shell\Open\command
&lt;UL&gt;
&lt;LI&gt;Change value to:
&lt;UL&gt;
&lt;LI&gt;"C:\Program Files\SASHome\SASFoundation\9.4\core\sasexe\sasoact.exe" action=Open datatype=SASFile filename="%1" progid=SAS.Application.940&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 08 Apr 2020 18:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/638439#M18679</guid>
      <dc:creator>cminard</dc:creator>
      <dc:date>2020-04-08T18:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing .SAS file associations with SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/638441#M18680</link>
      <description>&lt;P&gt;This does not always work, and is not the recommended method. Please see the Gibbs paper.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 18:49:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/638441#M18680</guid>
      <dc:creator>cminard</dc:creator>
      <dc:date>2020-04-08T18:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing .SAS file associations with SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/858279#M25955</link>
      <description>&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csC8F6D76"&gt;Here is one other method of resolution that has worked for me in stubborn situations before (you may need I.T. assistance), but doesn't require quite so many edits to the registry.&amp;nbsp; Again, always back up the registry before, just in case!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csC8F6D76"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL start="1"&gt;
&lt;LI class="csFFB4D872"&gt;&lt;SPAN class="csC8F6D76"&gt;Open &lt;/SPAN&gt;&lt;SPAN class="cs945368B1"&gt;regedit&lt;/SPAN&gt;&lt;SPAN class="csC8F6D76"&gt;, as that Windows User having the issue&lt;/SPAN&gt;
&lt;OL start="1"&gt;
&lt;LI class="csFFB4D872"&gt;&lt;SPAN class="csC8F6D76"&gt;Navigate to the "&lt;/SPAN&gt;&lt;SPAN class="cs4306042E"&gt;HKEY_CLASSES_ROOT&lt;/SPAN&gt;&lt;SPAN class="csC8F6D76"&gt;" registry node, then look for the ".sas" folder underneath it&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class="csFFB4D872"&gt;&lt;SPAN class="csC8F6D76"&gt;Look at the Data value for the "&lt;/SPAN&gt;&lt;SPAN class="cs4306042E"&gt;(Default)&lt;/SPAN&gt;&lt;SPAN class="csC8F6D76"&gt;" key&lt;/SPAN&gt;
&lt;OL start="1"&gt;
&lt;LI class="csFFB4D872"&gt;&lt;SPAN class="csC8F6D76"&gt;Make sure it is set to "&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="cs4306042E"&gt;SAS.Program.701&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="csC8F6D76"&gt;" - instead of the incorrect value of "sas_auto_file"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="cs746A5FAB"&gt;&lt;SPAN class="csC8F6D76"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL start="2"&gt;
&lt;LI class="csFFB4D872" value="2"&gt;&lt;SPAN class="csC8F6D76"&gt;Close regedit and go back out to your Windows Explorer&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="cs746A5FAB"&gt;&lt;SPAN class="csC8F6D76"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL start="3"&gt;
&lt;LI class="csFFB4D872" value="3"&gt;&lt;SPAN class="csC8F6D76"&gt;Right-Mouse click on any .SAS file, and choose the 'Open With' option&lt;/SPAN&gt;
&lt;OL start="1"&gt;
&lt;LI class="csFFB4D872"&gt;&lt;SPAN class="csC8F6D76"&gt;You should now see 'The SAS System for Windows' program (with the grey triangle) in the list&lt;BR /&gt;&lt;/SPAN&gt;Note: Select the checkbox option to "Always use this program"&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Now - if the issue is with any other file type other than .sas -&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="cs4306042E"&gt;note the folder name underneath each file type on the left&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="cs4306042E"&gt; (expand the node)&lt;/SPAN&gt;&lt;SPAN class="csC8F6D76"&gt; - there is a pattern in which the folder name equates to that Data Value for the "(Default)" Key.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csC8F6D76"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csC8F6D76"&gt;So, for example instead of 'SAS.Program.701', for a .sas7bdat file, you would specify 'SAS.DataSet.701'.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 15:18:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Fixing-SAS-file-associations-with-SAS-9-4/m-p/858279#M25955</guid>
      <dc:creator>BrNiel</dc:creator>
      <dc:date>2023-02-10T15:18:23Z</dc:date>
    </item>
  </channel>
</rss>

