<?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 proc format ... error message ARNING: The quoted string currently being processed has become more th in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366352#M64853</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run the code below and I receive the following error message:&amp;nbsp;The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation&lt;/P&gt;&lt;DIV class="sasWarning"&gt;marks.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;Any suggestion?&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;Regards,&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;Alain&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value $vprec '1999' - '9999' = '@2016\@1231';&lt;BR /&gt;run;&lt;BR /&gt;%macro NATP;&lt;BR /&gt;%GLOBAL ANTP VPREC;&lt;BR /&gt;%LET VPREC=%SYSFUNC(PUTC(&amp;amp;ANTP,'$VPREC.'));&lt;BR /&gt;%MEND ANTP;&lt;BR /&gt;%LET AN1=2016;&lt;BR /&gt;%ANTP(&amp;amp;AN1);&lt;BR /&gt;%LET TOTO ="A108\RATING\COUTPRE2\T&amp;amp;AN1.\&amp;amp;VPREC.";&lt;BR /&gt;%put &amp;amp;toto;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jun 2017 22:39:06 GMT</pubDate>
    <dc:creator>alepage</dc:creator>
    <dc:date>2017-06-12T22:39:06Z</dc:date>
    <item>
      <title>proc format ... error message ARNING: The quoted string currently being processed has become more th</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366352#M64853</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run the code below and I receive the following error message:&amp;nbsp;The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation&lt;/P&gt;&lt;DIV class="sasWarning"&gt;marks.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;Any suggestion?&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;Regards,&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;Alain&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value $vprec '1999' - '9999' = '@2016\@1231';&lt;BR /&gt;run;&lt;BR /&gt;%macro NATP;&lt;BR /&gt;%GLOBAL ANTP VPREC;&lt;BR /&gt;%LET VPREC=%SYSFUNC(PUTC(&amp;amp;ANTP,'$VPREC.'));&lt;BR /&gt;%MEND ANTP;&lt;BR /&gt;%LET AN1=2016;&lt;BR /&gt;%ANTP(&amp;amp;AN1);&lt;BR /&gt;%LET TOTO ="A108\RATING\COUTPRE2\T&amp;amp;AN1.\&amp;amp;VPREC.";&lt;BR /&gt;%put &amp;amp;toto;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 22:39:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366352#M64853</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2017-06-12T22:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc format ... error message ARNING: The quoted string currently being processed has become mor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366367#M64856</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;could you please try to use the option noquotelenmax;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 00:35:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366367#M64856</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2017-06-13T00:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: proc format ... error message ARNING: The quoted string currently being processed has become mor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366381#M64859</link>
      <description>&lt;P&gt;I can see a few issues, although none of them would cause that message. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The name of the macro is wrong (NATP instead of ANTP).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The macro definition doesn't contain any parameters, yet you call the macro with a parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These two issues mean that you aren't showing the code that you actually used, so it's speculation as to what is causing the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, macro language doesn't use quotes to identify character strings. &amp;nbsp;So the quotes around '$VPREC.' should probably removed. &amp;nbsp;I can't test it right now, but I would be surprised if that worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, your character format is suspect. &amp;nbsp;The range '1999' - '9999' almost certainly includes values that you don't want to include. &amp;nbsp;All of these values fall into that range:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;500&lt;/P&gt;
&lt;P&gt;7ABC&lt;/P&gt;
&lt;P&gt;3.14159&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's possible you should be using a numeric format instead.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 01:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366381#M64859</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-06-13T01:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: proc format ... error message ARNING: The quoted string currently being processed has become mor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366510#M64872</link>
      <description>&lt;P&gt;Thanks for your help. It is very appreciated.&lt;/P&gt;&lt;P&gt;Here's the code that I have test and works properly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;format&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; $vprec &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'1999'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; - &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'9999'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'@2016\@1231'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;%macro&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ANTP(ANTP=);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%GLOBAL&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; VPREC;&lt;/FONT&gt;&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; VPREC=&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;(PUTC(&amp;amp;ANTP,$VPREC));&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;%MEND&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ANTP;&lt;/FONT&gt;&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; AN1=2016;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;ANTP&lt;/I&gt;&lt;/STRONG&gt;(ANTP=&amp;amp;AN1);&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; TOTO ="A108\RATING\COUTPRE2\T&amp;amp;AN1.\&amp;amp;VPREC.";&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; &amp;amp;toto;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Alain &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:38:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366510#M64872</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2017-06-13T12:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc format ... error message ARNING: The quoted string currently being processed has become mor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366530#M64873</link>
      <description>&lt;P&gt;This code is a little bit simpler and is also working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;format&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; vprec &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1999&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; - &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;9999&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; = @&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;2016&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;\@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1231&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;%macro&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ANTP(ANTP=);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%GLOBAL&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; VPREC;&lt;/FONT&gt;&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; VPREC=&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;(PUTC(&amp;amp;ANTP,VPREC.));&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;%MEND&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ANTP;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:04:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366530#M64873</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2017-06-13T13:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc format ... error message ARNING: The quoted string currently being processed has become mor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366539#M64874</link>
      <description>&lt;P&gt;When you say the code is working, does that mean the message about unbalanced quotes has vanished?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest that your numeric format (much preferred, per my earlier comments about the character format) needs quotes around the label:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;format&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; vprec &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1999&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; - &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;9999&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; = '@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;2016&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;\@&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1231'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:16:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366539#M64874</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-06-13T13:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc format ... error message ARNING: The quoted string currently being processed has become mor</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366923#M64888</link>
      <description>Small error in my original code. Here's the good one&lt;BR /&gt;&lt;BR /&gt;proc format;&lt;BR /&gt;&lt;BR /&gt;value vprec 1999 - 9999 = @2016\@1231;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;%macro ANTP(ANTP=);&lt;BR /&gt;&lt;BR /&gt;%GLOBAL VPREC;&lt;BR /&gt;&lt;BR /&gt;%LET VPREC=%SYSFUNC(PUTN(&amp;amp;ANTP,VPREC.));&lt;BR /&gt;&lt;BR /&gt;%MEND ANTP;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jun 2017 12:13:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-error-message-ARNING-The-quoted-string-currently/m-p/366923#M64888</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2017-06-14T12:13:32Z</dc:date>
    </item>
  </channel>
</rss>

