>>Hi,
>>
>>I have come across an issue where when I try to macro expand a string (that contains INSERT command) and the string is over 612 characters I get error. If the string is less than 612, macro works.
>>
>>Is there a limit? And if there is, if there a way to get around it?
>>
>>Thank you in advance for any help.
>
>The following quick test works:
>
>
>x = "0"
>FOR i = 1 TO 500
> x = x + " + 1"
>next
>? &x
>
>
>String length is 2001.
>
>I would say, check the syntax. Or some built-in limitation of the corresponding SQL command.
Thank you, Hilmar. The string I create for macro is passed from one function to another. Perhaps this is where I hit the limit.
Thank you, ALL, for your suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham