yajl_stmf_load_tree returning open and file name conversion error

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/
Post Reply
jeqberry
Posts: 7
Joined: Wed Jan 19, 2022 10:53 pm

yajl_stmf_load_tree returning open and file name conversion error

Post 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.
jonboy49
Posts: 244
Joined: Wed Jul 28, 2021 8:18 pm

Re: yajl_stmf_load_tree returning open and file name conversion error

Post 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.
Post Reply