I'm trying to compare some very long strings (document sized) and I get the following error:
FOP 136 failed
The error occurs in the following line, which is comparing a long string to another long string:
<if $text eq $text2>
Sounds like I'm bumping up against a memory limit.
Maybe there's a better way to compare strings? I can avoid trouble by hashing the documents but in this case I would prefer to use the original because I want the result to be definitive.
Were there any other messages, which I would expect if it was a memory issue? Not sure why it would fail. You can use the <strcmp> function in Vortex which may be more efficient.
I also found that presence of a $ in the field (varchar) was getting in the way -- I assume because the program was confusing it for another variable. If I sandr it into $$ it behaves -- and maybe strcmp won't get confused that way?
The $ thing doesn't make sense. The content shouldn't matter. Maybe you could open a tech support ticket so we can arrange to get your actual data etc to see what's going on.
For the record the problem turned out to be related to data types, not content. A blob should be converted to varchar for the comparison. Sandring and strcmping caused implicit conversions.