yajl_h and full free for RPG program ?

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
richardschoen
Posts: 2
Joined: Wed Sep 18, 2024 6:42 pm

yajl_h and full free for RPG program ?

Post by richardschoen »

Hi Scott or anyone else,

I have a program I'm trying to convert to full free form RPG and it doesn't like the yajl_h header file because it's not full free form.

Is there a way to compile with the included yajl_h fill without reverting back to non full free form ?

Or has anyone converted the yajl_h header to be entirely free form RPG ?

Thoughts appreciated.

Thanks
Regards
Richard Schoen
Scott Klement
Site Admin
Posts: 872
Joined: Sun Jul 04, 2021 5:12 am

Re: yajl_h and full free for RPG program ?

Post by Scott Klement »

richardschoen wrote: Wed Sep 18, 2024 6:49 pm I have a program I'm trying to convert to full free form RPG and it doesn't like the yajl_h header file because it's not full free form.
I don't agree with you. That's not how RPG works -- it does not reject copybooks because they aren't fully-free format. It will automatically work with a fixed format copybook in a fully-free program.

I've done this a zillion times. Plus, that's how it's documented to work.

I think you are likely having a completely different problem and are incorrectly attributing it to the format of the source.
Is there a way to compile with the included yajl_h fill without reverting back to non full free form ?
Yes, just use the existing copybook from your fully-free program, it will work fine.
richardschoen
Posts: 2
Joined: Wed Sep 18, 2024 6:42 pm

Re: yajl_h and full free for RPG program ?

Post by richardschoen »

OK thanks for confirming it should work.

I was going to come chat with you this morning at your JSON session but I slept in.
Post Reply