I opened an issue on the project github page. We shall see what we shall see.
CM
On Fri, 1 Aug 2025 11:51:10 -0500, Kirk Wolf wrote:
>I wrote some code 10 years ago that was 31-bit XPLINK C++ calling the IBM json
>parser.
>Looking at it now, I agree: the header for hwtjpars is incorrect - parm
I wrote some code 10 years ago that was 31-bit XPLINK C++ calling the IBM json
parser.
Looking at it now, I agree: the header for hwtjpars is incorrect - parm 3
should be char** instead of char*.
Here's what I had:
/* in JsonParser.h */
..
#include "hwtjic.h"
..
HWTJ_ PARSERHANDLE_TYPE parser;
#1 I must have been suffering from Beaver's Brain Flatulence. There's no 64-bit
anything in this picture. 64-bit implies XPLINK but XPLINK does not imply
64-bit. A review of the compile listing confirms ILP32. Red herring.
#2 Solved. Is anyone using this product? The doc and the supplied C heade
Could be wrong, but... try 31-bit malloc for the JSON string?
Sent with Proton Mail secure email.
On Friday, August 1st, 2025 at 03:47, Charles Mills wrote:
> I am using the recommended SYS!.CSSLIB style linkage. I see the following in
> the link map
>
> 500 HWTJCSS * CSECT 354 CSSLIB 01 HWT
I am using the recommended SYS!.CSSLIB style linkage. I see the following in
the link map
500 HWTJCSS * CSECT 354 CSSLIB01 HWTJTERM
18 518 HWTJCREN LABEL
I am guessing that the problem is that the program is XPLINK and is passing a
64-bit parameter to hwtjpars and the first word is of course zero.
What do I have to specify for linkage? I am still learning my way through
XPLINK.
The JSON functions were declared extern "OS". I just tried extern O
I am dipping my toe into the z/OS JSON parser (form C++). I am using
SYS1.SIEAHDRV.H(HWTJIC) as a guide. I make it through the hwtjinit() with a
zero return code but my next call, to hwtjpars(), gives me a return code 1025
(Specified JSON string address is less than or equal to zero).
I thought