<?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: Disable F3 for SAS base in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385639#M92282</link>
    <description>&lt;P&gt;Those key definitions are stored in the user profile catalog, sasuser.profile (see &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#p0bmj7wjme32ayn1h4wim7trkhp6.htm" target="_blank"&gt;Files Used by SAS&lt;/A&gt;). Normally, this happens automatically when you close the KEYS window.&amp;nbsp;A subsequent SAS session would then (automatically) access the modified profile catalog including the new key definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if the SAS system option &lt;A href="http://support.sas.com/documentation/cdl/en/syntaxidx/68719/HTML/default/index.htm#/documentation/cdl/en/lesysoptsref/69799/HTML/default/n0yehy4wog1ti3n1u3nnqf794fhk.htm" target="_blank"&gt;RSASUSER&lt;/A&gt; is in effect, the user profile catalog is read-only and on closing the KEYS window you will get the error messages:&lt;/P&gt;
&lt;PRE&gt;ERROR: File I/O Error.  Unable to permanently save KEYS settings.
ERROR: Cannot open entry DMKEYS.KEYS for write access - catalog SASUSER.PROFILE is opened for read access.&lt;/PRE&gt;
&lt;P&gt;This option can only be changed (to NORSASUSER) at SAS invocation or in your config file. The latter typically also contains the definition of library SASUSER where the mentioned profile catalog is located.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;System option RSASUSER&amp;nbsp;enables multiple SAS sessions to share a common profile catalog (so that in particular the two notes mentioned below do not occur when a second, third, ... session is started). With the shipped default,&amp;nbsp;&lt;SPAN&gt;NORSASUSER, a second session cannot access the same user profile catalog, hence the modified key definitions are not available.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, to make the key definition permanent, open SAS with option -NORSASUSER &lt;EM&gt;while no other&lt;/EM&gt; SAS session (with option RSASUSER) is open. Make sure that the log of this new SAS session does &lt;EM&gt;not&lt;/EM&gt; contain notes like these:&lt;/P&gt;
&lt;PRE&gt;NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.&lt;/PRE&gt;
&lt;P&gt;Then modify the key definition and close the session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally, I have created two start icons for SAS in my Windows Start Menu: "SAS" and "SAS (NORSASUSER)". The latter sets option NORSASUSER and I use it only if I want to change key definitions (or make other changes to my user profile), the former sets option RSASUSER and is for everyday use.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2017 13:17:29 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2017-08-04T13:17:29Z</dc:date>
    <item>
      <title>Disable F3 for SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385365#M92278</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to configure SAS base to disable F3 key which can submit SAS&amp;nbsp;code?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 15:46:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385365#M92278</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-08-03T15:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F3 for SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385369#M92279</link>
      <description>&lt;P&gt;I have no approach now to sas base.&lt;/P&gt;
&lt;P&gt;As much as I remebre you can open window menu: &lt;STRONG&gt;Tools&lt;/STRONG&gt; &amp;gt; Keys&lt;/P&gt;
&lt;P&gt;and edit the PF keys as you want.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 15:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385369#M92279</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-03T15:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F3 for SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385378#M92280</link>
      <description>&lt;P&gt;The default KEYS menu should open with F9.&lt;/P&gt;
&lt;P&gt;The entry for F3 should look like:&lt;/P&gt;
&lt;P&gt;end; /*gsubmit buffer=default*/&lt;/P&gt;
&lt;P&gt;if you make that look like:&lt;/P&gt;
&lt;P&gt;/*end;*/ /*gsubmit buffer=default*/&lt;/P&gt;
&lt;P&gt;the F3 key will do nothing after you close the Keys window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you should be in editor, log or output window to get the default keys for program execution. Different windows have different Keys assigned.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 16:13:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385378#M92280</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-03T16:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F3 for SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385521#M92281</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this will works on current SAS session, how to configure for any SAS base with same setting as default?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 23:13:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385521#M92281</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-08-03T23:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F3 for SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385639#M92282</link>
      <description>&lt;P&gt;Those key definitions are stored in the user profile catalog, sasuser.profile (see &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#p0bmj7wjme32ayn1h4wim7trkhp6.htm" target="_blank"&gt;Files Used by SAS&lt;/A&gt;). Normally, this happens automatically when you close the KEYS window.&amp;nbsp;A subsequent SAS session would then (automatically) access the modified profile catalog including the new key definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if the SAS system option &lt;A href="http://support.sas.com/documentation/cdl/en/syntaxidx/68719/HTML/default/index.htm#/documentation/cdl/en/lesysoptsref/69799/HTML/default/n0yehy4wog1ti3n1u3nnqf794fhk.htm" target="_blank"&gt;RSASUSER&lt;/A&gt; is in effect, the user profile catalog is read-only and on closing the KEYS window you will get the error messages:&lt;/P&gt;
&lt;PRE&gt;ERROR: File I/O Error.  Unable to permanently save KEYS settings.
ERROR: Cannot open entry DMKEYS.KEYS for write access - catalog SASUSER.PROFILE is opened for read access.&lt;/PRE&gt;
&lt;P&gt;This option can only be changed (to NORSASUSER) at SAS invocation or in your config file. The latter typically also contains the definition of library SASUSER where the mentioned profile catalog is located.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;System option RSASUSER&amp;nbsp;enables multiple SAS sessions to share a common profile catalog (so that in particular the two notes mentioned below do not occur when a second, third, ... session is started). With the shipped default,&amp;nbsp;&lt;SPAN&gt;NORSASUSER, a second session cannot access the same user profile catalog, hence the modified key definitions are not available.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, to make the key definition permanent, open SAS with option -NORSASUSER &lt;EM&gt;while no other&lt;/EM&gt; SAS session (with option RSASUSER) is open. Make sure that the log of this new SAS session does &lt;EM&gt;not&lt;/EM&gt; contain notes like these:&lt;/P&gt;
&lt;PRE&gt;NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.&lt;/PRE&gt;
&lt;P&gt;Then modify the key definition and close the session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally, I have created two start icons for SAS in my Windows Start Menu: "SAS" and "SAS (NORSASUSER)". The latter sets option NORSASUSER and I use it only if I want to change key definitions (or make other changes to my user profile), the former sets option RSASUSER and is for everyday use.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 13:17:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disable-F3-for-SAS-base/m-p/385639#M92282</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2017-08-04T13:17:29Z</dc:date>
    </item>
  </channel>
</rss>

