01-22-2013 11:39 PM
I'm getting this following error:
ERROR: The text expression length (65538) exceeds maximum length (65534). The text expression has been truncated to 65534
Is there any way to exceed this limitations?
01-23-2013 03:46 AM
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 & pass variables through a macro. Now this macro's length is becoming greater than 65534. 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.
01-23-2013 04:06 AM
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
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 ( ).
Hope this helps you.
01-23-2013 03:53 AM
12-02-2016 03:06 PM - edited 12-02-2016 03:09 PM
I came here with the same isue. One of the existing answers suggested I should review carefully my code again. I found a missing closing parenthesis was causing the error. The missing parenthesis made the code look something like this:
%macro a (var1,var2;
The right code should have been:
%macro a (var1,var2);