<?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 setting VALIDVARNAME as the default for the duration of the session in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654637#M196573</link>
    <description>&lt;P&gt;I'm running a program interactively and would like the&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;option validvarname=v7 &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;to be the default for the duration of the session. Currently after every datastep it gets reset back to the default validvarname=ANY this is problematic because i'm now forced to put the option before every proc import/export.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;System info: SAS Studio version 3.7 running SAS 9.4 on SAS Grid/Unix server.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2020 18:04:55 GMT</pubDate>
    <dc:creator>SAShole</dc:creator>
    <dc:date>2020-06-08T18:04:55Z</dc:date>
    <item>
      <title>setting VALIDVARNAME as the default for the duration of the session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654637#M196573</link>
      <description>&lt;P&gt;I'm running a program interactively and would like the&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;option validvarname=v7 &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;to be the default for the duration of the session. Currently after every datastep it gets reset back to the default validvarname=ANY this is problematic because i'm now forced to put the option before every proc import/export.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;System info: SAS Studio version 3.7 running SAS 9.4 on SAS Grid/Unix server.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 18:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654637#M196573</guid>
      <dc:creator>SAShole</dc:creator>
      <dc:date>2020-06-08T18:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: setting VALIDVARNAME as the default for the duration of the session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654638#M196574</link>
      <description>Try putting it in the autoexec.sas file.  I'm not currently using SAS Studio, so it's more a guess based on other SAS products.</description>
      <pubDate>Mon, 08 Jun 2020 18:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654638#M196574</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2020-06-08T18:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: setting VALIDVARNAME as the default for the duration of the session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654641#M196576</link>
      <description>&lt;P&gt;Put the option into "code sent before every execution".&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 18:24:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654641#M196576</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-06-08T18:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: setting VALIDVARNAME as the default for the duration of the session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654647#M196579</link>
      <description>Can you say a little more about this? I'm not sure I follow.</description>
      <pubDate>Mon, 08 Jun 2020 18:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654647#M196579</guid>
      <dc:creator>SAShole</dc:creator>
      <dc:date>2020-06-08T18:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: setting VALIDVARNAME as the default for the duration of the session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654648#M196580</link>
      <description>I think that solution would normally work however, I'm in an enterprise setting and I don't think I'm able to modify that file</description>
      <pubDate>Mon, 08 Jun 2020 18:41:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654648#M196580</guid>
      <dc:creator>SAShole</dc:creator>
      <dc:date>2020-06-08T18:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: setting VALIDVARNAME as the default for the duration of the session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654654#M196581</link>
      <description>&lt;P&gt;It is in the Options menu of SAS Studio or Enterprise Guide. As these are personalized, you can change them for your account.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 19:01:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654654#M196581</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-06-08T19:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: setting VALIDVARNAME as the default for the duration of the session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654657#M196582</link>
      <description>I was able to add it to the autoexec.sas file in SAS Studio. The autoexec.sas file says it will run these statements when the application starts however when I run:&lt;BR /&gt;proc options option=validvarname; run;&lt;BR /&gt;it is still saying the VALIDVARNAME=ANY</description>
      <pubDate>Mon, 08 Jun 2020 19:16:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654657#M196582</guid>
      <dc:creator>SAShole</dc:creator>
      <dc:date>2020-06-08T19:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: setting VALIDVARNAME as the default for the duration of the session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654664#M196589</link>
      <description>This was the solution i was looking for. &lt;BR /&gt;Just adding some more details in case others come across the same issue.&lt;BR /&gt;In SAS studio click the icon in the top right corner click the 'more system options' button, it  has 3 horizontal bars and 3 dots.&lt;BR /&gt;Click Preferences&lt;BR /&gt;Under General&lt;BR /&gt;Change Character Policy: SAS variable name policy to V7&lt;BR /&gt;Click Save&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jun 2020 19:58:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/setting-VALIDVARNAME-as-the-default-for-the-duration-of-the/m-p/654664#M196589</guid>
      <dc:creator>SAShole</dc:creator>
      <dc:date>2020-06-08T19:58:04Z</dc:date>
    </item>
  </channel>
</rss>

