Search found 206 matches

by jonboy49
Sun Sep 17, 2023 9:55 pm
Forum: General
Topic: failed to create command httpapi upon installation of version 1.47
Replies: 1
Views: 6509

Re: failed to create command httpapi upon installation of version 1.47

This issue was addressed here: https://www.scottklement.com/forums/viewtopic.php?t=370

Scott noted at the time that the latest version fixed the problem. I believe 1.49 is the latest.

P.S. This would have been better asked in the HTTPAPI forum.
by jonboy49
Thu Sep 14, 2023 12:54 pm
Forum: HTTPAPI
Topic: return code -1
Replies: 12
Views: 20431

Re: return code -1

That's a pretty old version - I believe the current version is 1.49. So first advice is to update HTTPAPI.

P.S. Might I also suggest using a regular zip file. My Mac thinks rar files are videos and I haven't the time to search for a way to unzip your source.
by jonboy49
Sat Sep 09, 2023 6:13 pm
Forum: YAJL-ILE
Topic: Displaying JSON String in a Subfile using YAJL
Replies: 4
Views: 7894

Re: Displaying JSON String in a Subfile using YAJL

If you have a nested data structure as the source of your JSON why not just use DATA-GEN with YAJLGEN rather than the YAQJL routines directly?
by jonboy49
Wed Sep 06, 2023 11:52 pm
Forum: General
Topic: Help retrieving file data definitions OS v5r4,cif possible
Replies: 3
Views: 7801

Re: Help retrieving file data definitions OS v5r4,cif possible

Well, it looks like Infor themselves had conversion software at one time - and therefore still knew the layouts. Whether they still have the tools and/or would supply the layouts you'll have to anthem. Here's the link I found https://support.infor.com/esknowbase/root/DLPublic/12452/Cross_Application...
by jonboy49
Wed Sep 06, 2023 11:47 pm
Forum: General
Topic: Help retrieving file data definitions OS v5r4,cif possible
Replies: 3
Views: 7801

Re: Help retrieving file data definitions OS v5r4,cif possible

Ah the bad old days! If you are very, very lucky you might find someone who has already done this mapping. Try looking for an internet group that supports MAPICS. You may have to post to multiple locations such as Midrange-L at midrange.com as well as places like Linked In and Facebook - both of whi...
by jonboy49
Thu Aug 24, 2023 4:31 pm
Forum: HTTPAPI
Topic: Error code 415 posting JSON messages
Replies: 6
Views: 11569

Re: Error code 415 posting JSON messages

Are you certain that no code changes have been made to your app? The debug log not only identifes the error as 415 (wrong media type) but the actual response from Saleforce very clearly identifies application/json as an unsupported type. I can't see how the PTFs could have had any impact on that. Ha...
by jonboy49
Wed Aug 23, 2023 8:03 pm
Forum: HTTPAPI
Topic: Error code 415 posting JSON messages
Replies: 6
Views: 11569

Re: Error code 415 posting JSON messages

What does the httpapi debug log show? There may be hints there
by jonboy49
Wed Aug 16, 2023 9:59 pm
Forum: YAJL-ILE
Topic: Json document with nested arrays, one without name/id
Replies: 9
Views: 14140

Re: Json document with nested arrays, one without name/id

No argument.

I'll have a think about whether it is worth floating an IDEA to have it added to RPG. No way you'd ever get it in COBOL.
by jonboy49
Wed Aug 16, 2023 9:15 pm
Forum: YAJL-ILE
Topic: Json document with nested arrays, one without name/id
Replies: 9
Views: 14140

Re: Json document with nested arrays, one without name/id

<snip> The problem is that RPG doesn't support multi-dimension arrays, and wants to play in the same arena as other languages. So you're saying that we need something like Dim( 20 : 10 ) or similar? I confess that when working with languages that allow it, I have always found it a little frustratin...
by jonboy49
Wed Aug 16, 2023 4:05 pm
Forum: RPG IV
Topic: XML-INTO error RNX0305, reason code 1
Replies: 4
Views: 11064

Re: XML-INTO error RNX0305, reason code 1

Well as the error message says the path is incorrect - in fact you haven't specified a path at all. Your code would work if your XML looked like this: <return> <COMPANY>1</COMPANY> <CONTRACT></CONTRACT> <CUSTCODE></CUSTCODE> <CUSTOMER>9876543210</CUSTOMER> ... But it has (namespaces removed as per y...