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.
yajl_stmf_load_tree returning open and file name conversion error
Re: yajl_stmf_load_tree returning open and file name conversion error
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.
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.