Discussions relating to the ScottKlement.com port of the open source YAJL JSON Reader/Generator. This includes the YAJL tool as well as the YAJLR4, YAJLGEN, YAJLINTO and YAJLDTAGEN add-ons from ScottKlement.com. http://www.scottklement.com/yajl/
[text]
Out of that DATA-GEN is below
why message variable showing in such a way? i tried using %Trim on variable itself but that didn't help...
any advise..
[/text]
Most likely, the problem is with the way you are populating 'message' in the actual program. The problem in your JSON document is typical of mismatched parameters.
it is resolved now! It seems passing the parameter from command line was causing the issue but when i called it using program and pass the parameter it is working as expected.
The only way this would work reliably from the command-line would be if you had a CMD interface calling it. The CALL command always passes character parameters as CHAR(32) unless you pass more than 32 charactrs, at which point it passes CHAR(length-of-your-data), but I don't see how you could type 2000 characters in the command line.