<?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: ERROR 23-2 but I don't see how. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-23-2-but-I-don-t-see-how/m-p/507409#M136202</link>
    <description>&lt;P&gt;This:&lt;/P&gt;
&lt;PRE&gt;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;
&lt;P&gt;is a clear indicator of unbalanced quotes somewhere further up in the code. The following ERRORs are a consequence of this.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Oct 2018 06:48:56 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-10-25T06:48:56Z</dc:date>
    <item>
      <title>ERROR 23-2 but I don't see how.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-23-2-but-I-don-t-see-how/m-p/507342#M136153</link>
      <description>&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;I get this error saying I am missing quotes but I don't see where. I also get this note to add white space. I am not sure where to add it.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;I am using SAS Enterprise Guide 7.1 64 bit&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;The file still gets created with the correct date stamp.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%LET&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; TODAY = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%SYSFUNC&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(TODAY(),DATE7.);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;printto&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;log&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;= &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"\\Testserver\Test\MyFile_&amp;amp;TODAY..txt"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release.&amp;nbsp; Inserting white space&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; between a quoted string and the succeeding identifier is recommended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR 23-2: Invalid option name 24.&lt;/P&gt;&lt;P&gt;ERROR 23-2: Invalid option name OCT2018.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 22:05:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-23-2-but-I-don-t-see-how/m-p/507342#M136153</guid>
      <dc:creator>rlasvegas</dc:creator>
      <dc:date>2018-10-24T22:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 23-2 but I don't see how.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-23-2-but-I-don-t-see-how/m-p/507347#M136156</link>
      <description>&lt;P&gt;You likely need to show more of what is going on.&lt;/P&gt;
&lt;P&gt;Best would be to set OPTION MPRINT so macro code is expanded and the generated text involving the macro variables is resolved and shown in place.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The NOTE indicates that somewhere in the code you are generating something like:&lt;/P&gt;
&lt;P&gt;"quoted string"and&lt;/P&gt;
&lt;P&gt;the lack of space between the " and the word "and" above triggers the note. Since there is nothing like that in shown code it may be happening later in the program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Show the entire log including the proc statements and options down through the error messages. Paste the copied text into a code box opened using the forum's {I} menu icon to preserve formatting of the error messages. Often there are indicator characters in the log to go along with errors and the main message windows here will reformat the result moving the indicators.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 22:33:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-23-2-but-I-don-t-see-how/m-p/507347#M136156</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-24T22:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 23-2 but I don't see how.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-23-2-but-I-don-t-see-how/m-p/507348#M136157</link>
      <description>&lt;P&gt;This error is the bane of SAS users. The error could be anywhere in the program. It could even no longer exist in the program and be a remnant of previous runs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sadly,&lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/MACRO-command-to-totally-reset-the-macro-processor/idi-p/219508" target="_self"&gt; there is still no way&lt;/A&gt; to tell SAS "reset all quotes, parentheses, macros and statements please".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the message, it look like your OPTIONS statement is not closed, so maybe look there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the line I run when I get in that state.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;*))))))))))))))))))))))))))))))))))));*';*";*/;quit;run;%mend;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Run it a few times and hopefully you'll get this error message:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ERROR: No matching %MACRO statement for this %MEND statement.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;When that's the case your SAS session should be back on its feet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 01:11:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-23-2-but-I-don-t-see-how/m-p/507348#M136157</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-10-25T01:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 23-2 but I don't see how.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-23-2-but-I-don-t-see-how/m-p/507409#M136202</link>
      <description>&lt;P&gt;This:&lt;/P&gt;
&lt;PRE&gt;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;
&lt;P&gt;is a clear indicator of unbalanced quotes somewhere further up in the code. The following ERRORs are a consequence of this.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 06:48:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-23-2-but-I-don-t-see-how/m-p/507409#M136202</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-25T06:48:56Z</dc:date>
    </item>
  </channel>
</rss>

