Page 1 of 1

yajl_stmf_load_tree returning open and file name conversion error

Posted: Tue Apr 15, 2025 6:11 am
by jeqberry
I finally set the ccsid to what the machine has as a sysval and now no more lex errors.
It does indicate it open then the file name and : Conversion error.

Not sure where to look. CCSID is set to 65533.

I think I am very close to making this work.

I did not want to use data-into as the json is huge with many elements and I did not want to define each one in the data structure.

Re: yajl_stmf_load_tree returning open and file name conversion error

Posted: Tue Apr 15, 2025 3:09 pm
by jonboy49
CCSID 65533? That's pretty unusual - in fact I don't think I've ever seen it before. According to IBM it is only for user-definable code sets. Which would indicate that the company is using their own conversion tables. Which might help explain this.

As to DATA-INTO, simply point Scott's YAJLGENR4 at a copy of the file and it will generate the base DS for you. You just need to change the sizes, array dimensions etc.