Following your reply of August 22nd and the example you offered, I did your solution. It worked.  I had field :mytext populated with the correct data and  %len(mytext) was available and correct.

Then I spent a couple of days trying to figure out how to parse the JSON text and failed completely.

On 9/6/2017 12:07 AM, Birgitta Hauser wrote:
When accessing a LOB-File, the data length is returned in MYLOB_DL.
So it is possible to read exactly the returned data into a RPG Variable (with an SQL SET Statement).

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them and keeping them!"
„Train people well enough so they can leave, treat them well enough so they don't want to.“ (Richard Branson)

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].