<?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 due to Exceeding Length in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83023#M17918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagadish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. It's unfortunate that I can't share my code. That's why I put that brief question. We are actually running models &amp;amp; pass variables through a macro. Now this macro's length is becoming greater than &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;65534&lt;/SPAN&gt;. The modelling code is pretty complicated. So, it's pretty cumbersome to create 2 or more parts of the variables. So, I was wondering if SAS has some option where I can relax the length limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2013 08:46:33 GMT</pubDate>
    <dc:creator>newbie_ari</dc:creator>
    <dc:date>2013-01-23T08:46:33Z</dc:date>
    <item>
      <title>Error due to Exceeding Length</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83021#M17916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting this following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: The text expression length (65538) exceeds maximum length (65534). The text expression has been truncated to 65534 &lt;/P&gt;&lt;P&gt;characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to exceed this limitations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Newbie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 04:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83021#M17916</guid>
      <dc:creator>newbie_ari</dc:creator>
      <dc:date>2013-01-23T04:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to Exceeding Length</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83022#M17917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you show us the code you have used and it resulted in this error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 06:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83022#M17917</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-01-23T06:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to Exceeding Length</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83023#M17918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagadish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. It's unfortunate that I can't share my code. That's why I put that brief question. We are actually running models &amp;amp; pass variables through a macro. Now this macro's length is becoming greater than &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;65534&lt;/SPAN&gt;. The modelling code is pretty complicated. So, it's pretty cumbersome to create 2 or more parts of the variables. So, I was wondering if SAS has some option where I can relax the length limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 08:46:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83023#M17918</guid>
      <dc:creator>newbie_ari</dc:creator>
      <dc:date>2013-01-23T08:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to Exceeding Length</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83024#M17919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think there is a option available to increase macro variable length.You may need to work out on your code to divide your macro variable into two parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through bellow link for more info..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="34126" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanjeev.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 08:53:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83024#M17919</guid>
      <dc:creator>kuridisanjeev</dc:creator>
      <dc:date>2013-01-23T08:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to Exceeding Length</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83025#M17920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per my understanding that error happens when you have missed to place a semicolon at the end of the value within a macro variable like example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let string=abc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if you have used %str() without any blank space within the (). it should be changed to %str( ). give atleast a single space within the ( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 09:06:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83025#M17920</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-01-23T09:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to Exceeding Length</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83026#M17921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sanjeev! I was just bit optimistic...in case! I'll update the code to have multiple macro options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 09:39:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/83026#M17921</guid>
      <dc:creator>newbie_ari</dc:creator>
      <dc:date>2013-01-23T09:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error due to Exceeding Length</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/316368#M69117</link>
      <description>&lt;P&gt;I came here with the same isue. One of the existing answers suggested I should&amp;nbsp;review&amp;nbsp;carefully my code again. I found a missing closing parenthesis was causing the error. The missing parenthesis made the code look something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%macro a (var1,var2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The right code should have been:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%macro a (var1,var2);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 20:09:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-due-to-Exceeding-Length/m-p/316368#M69117</guid>
      <dc:creator>claudiajc</dc:creator>
      <dc:date>2016-12-02T20:09:31Z</dc:date>
    </item>
  </channel>
</rss>

