<?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 SAS Studio variables in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/978035#M11493</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/335531"&gt;@_zeta_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I was able to replicate the case, It works!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;;*%mend;*);*';*";**/; &lt;BR /&gt;run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Now, we want to replicate this for all users that use SAS Studio, I can't do that in workspace autoexec.sas code because It should be place at the beginning of the user's code, may be exist another place to do that?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You cannot fix user generated unbalanced quotes (or unbalanced macro defintions) in the autoexec.sas file.&amp;nbsp; &lt;STRONG&gt;The problem hasn't happened yet&lt;/STRONG&gt; when the autoexec file executes.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Oct 2025 20:42:55 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2025-10-28T20:42:55Z</dc:date>
    <item>
      <title>Disable SAS Studio variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/977897#M11487</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;Maybe exist a way to disable the autogenerated variables when a user executes a task in SAS Studio?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_zeta__0-1761579554635.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/110975iC67BE14E8549B1C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_zeta__0-1761579554635.png" alt="_zeta__0-1761579554635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to avoid this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_zeta__1-1761579742932.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/110976i20D79F14958232A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_zeta__1-1761579742932.png" alt="_zeta__1-1761579742932.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We appreciate the support you can provide us!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 15:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/977897#M11487</guid>
      <dc:creator>_zeta_</dc:creator>
      <dc:date>2025-10-27T15:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Disable SAS Studio variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/977902#M11488</link>
      <description>&lt;P&gt;If you start a new session, and run a task, do you get that Note?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to replicate the problem, but I couldn't, even with code like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1    %let foo=%bquote(blah'AAA BBB CCC'blah)  ;
2    %put &amp;amp;foo ;
blah'AAA BBB CCC'blah
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The only way I could get that NOTE in the log is if I introduce an unmatched quotation mark, as suggested in this thread:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/quot-NOTE-49-169-The-meaning-of-an-identifier-after-a-quoted/td-p/121796" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/quot-NOTE-49-169-The-meaning-of-an-identifier-after-a-quoted/td-p/121796&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 16:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/977902#M11488</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2025-10-27T16:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Disable SAS Studio variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/977905#M11489</link>
      <description>&lt;P&gt;I was able to replicate the case, It works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;;*%mend;*);*';*";**/; &lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Now, we want to replicate this for all users that use SAS Studio, I can't do that in workspace autoexec.sas code because It should be place at the beginning of the user's code, may be exist another place to do that?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 16:49:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/977905#M11489</guid>
      <dc:creator>_zeta_</dc:creator>
      <dc:date>2025-10-27T16:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Disable SAS Studio variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/977954#M11490</link>
      <description>&lt;P&gt;You can turn that note off by adding this option to your SAS server AUTOEXEC - this will enable it for all users:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options noquotelenmax;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;That's what we do and it works fine.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 21:14:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/977954#M11490</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2025-10-27T21:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Disable SAS Studio variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/977989#M11491</link>
      <description>&lt;P&gt;I don't think noquotelenmax will effect the note about text immediately following a quoted string, e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;1    options noquotelenmax;
2    %let foo='bar'foo ;
              -----
              49
NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release.  Inserting white space
             between a quoted string and the succeeding identifier is recommended.
&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Oct 2025 12:57:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/977989#M11491</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2025-10-28T12:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Disable SAS Studio variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/978031#M11492</link>
      <description>&lt;P&gt;True, but it isn't clear which issue the OP has: an embedded quote or simply a long end-quoted string - the option can deal with those.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 19:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/978031#M11492</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2025-10-28T19:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Disable SAS Studio variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/978035#M11493</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/335531"&gt;@_zeta_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I was able to replicate the case, It works!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;;*%mend;*);*';*";**/; &lt;BR /&gt;run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Now, we want to replicate this for all users that use SAS Studio, I can't do that in workspace autoexec.sas code because It should be place at the beginning of the user's code, may be exist another place to do that?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You cannot fix user generated unbalanced quotes (or unbalanced macro defintions) in the autoexec.sas file.&amp;nbsp; &lt;STRONG&gt;The problem hasn't happened yet&lt;/STRONG&gt; when the autoexec file executes.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 20:42:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/978035#M11493</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-10-28T20:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disable SAS Studio variables</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/978039#M11494</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/335531"&gt;@_zeta_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I was able to replicate the case, It works!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;;*%mend;*);*';*";**/; &lt;BR /&gt;run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Now, we want to replicate this for all users that use SAS Studio, I can't do that in workspace autoexec.sas code because It should be place at the beginning of the user's code, may be exist another place to do that?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm surprised Studio isn't already appending that magic string after each block of user submitted code.&amp;nbsp; That's what EG does.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally, I think automatically fixing unmatched quotes can be confusing to developers.&amp;nbsp; It can end up hiding the problem, because the IDE fixes it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I would recommend handling this as an education issue, and inform users that if if they receive the error you mentioned, they likely have a problem with unmatched quotes.&amp;nbsp; And they can either try submitting the magic string to fix the problem, or they can exit their SAS session and re-start it.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 21:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Disable-SAS-Studio-variables/m-p/978039#M11494</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2025-10-28T21:35:13Z</dc:date>
    </item>
  </channel>
</rss>

