On 2019-01-31 4:31 PM, mlazarus wrote:
I'm trying to use DATA-INTO using YAJLINTO. It's based on one of
Sometimes it's useful to get a trace from DATA-INTO.
In this case, the problem is that you have your Data subfield defined as
a data structure, but the JSON array is an array of strings.
Try defining the Data subfield as just a CHAR(50) array instead of a
data structure array with a CHAR(50) subfield.
dcl-ds MyData qualified;
Code varchar( 5 ) ;
Message varchar( 50 ) ;
num_Data int( 10 ) ;
Data char( 50 ) ;
This mailing list archive is Copyright 1997-2019 by midrange.com 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