Well - according to Scott's site, the latest version runs on 6.1, so you should have no issues. See https://www.scottklement.com/httpapi/
Where most people encounter issues with out-of-date releases is that useful RPG features like DATA-INTO and DATA-GEN may not be available.
Search found 252 matches
- Wed Sep 24, 2025 5:32 pm
- Forum: HTTPAPI
- Topic: Which version support IBM i 7.2
- Replies: 4
- Views: 20473
- Wed Aug 13, 2025 10:26 pm
- Forum: YAJL-ILE
- Topic: YAJL_OBJECT_LOOP not working on second level group
- Replies: 5
- Views: 72327
Re: YAJL_OBJECT_LOOP not working on second level group
Your basic problem is that you are treating return_message as an object but it is an array. So you need to work through it using YAJL_array_loop and _then_ YAJL_OBJECT_LOOP for its elements. It appears that return_message is a single element so heaven knows why the doc was designed like this but ...
- Wed Aug 13, 2025 9:13 pm
- Forum: YAJL-ILE
- Topic: YAJL_OBJECT_LOOP not working on second level group
- Replies: 5
- Views: 72327
Re: YAJL_OBJECT_LOOP not working on second level group
I'll try to look at your code later, but is there a reason why you are using the "raw" YAJL APIs? I just ran your JSON through YAJLGEN, and the resulting DATA-INTO works perfectly on this document.
- Sun Jun 29, 2025 5:34 pm
- Forum: RPG IV
- Topic: Opening a 5250 web page with a link longer than 123 characters
- Replies: 5
- Views: 44483
Re: Opening a 5250 web page with a link longer than 123 characters
It always saddens me when programmers are forced to find "solutions" for non-existent problems. The answer is so easy - update to a supported release.
But if the powers that be deem this impossible the only thiong I can think of is to load a batch file on each PC and invoke that with parms for the ...
But if the powers that be deem this impossible the only thiong I can think of is to load a batch file on each PC and invoke that with parms for the ...
- Fri Jun 27, 2025 11:40 pm
- Forum: RPG IV
- Topic: Trimming prototype/interface variables only works with certain lengths
- Replies: 6
- Views: 60730
Re: Trimming prototype/interface variables only works with certain lengths
Scott is correct - but these days there is another option which is to use the ability to define the data type and length of parms on a call. Like so:
CALL PGM(XYZ) PARM(('ABC' (*CHAR 100)))
In this case, the system will pass a 100-character field blank-padded as expected.
CALL PGM(XYZ) PARM(('ABC' (*CHAR 100)))
In this case, the system will pass a 100-character field blank-padded as expected.
- Fri Jun 27, 2025 3:54 pm
- Forum: RPG IV
- Topic: Opening a 5250 web page with a link longer than 123 characters
- Replies: 5
- Views: 44483
Re: Opening a 5250 web page with a link longer than 123 characters
That limit disappeared back in release 7.2. Are you running a really old release? The current limit is 1,023 characters. Of course you will also need to be running a 5250 emulator package that is aware of this update.
- Tue Jun 10, 2025 10:32 am
- Forum: YAJL-ILE
- Topic: YAJLINTO handling varying number of array records
- Replies: 9
- Views: 95626
Re: YAJLINTO handling varying number of array records
Glad to hear you have it working. For the path option the following works. Note the use of the element count from the psds. RPG populates this when you are parsing into an array as there is no opportunity to add a countprefix field.
dcl-ds pgmStat psds;
elements int(20) pos(372);
end-ds;
Dcl-ds ...
dcl-ds pgmStat psds;
elements int(20) pos(372);
end-ds;
Dcl-ds ...
- Thu Jun 05, 2025 7:14 pm
- Forum: YAJL-ILE
- Topic: YAJLINTO handling varying number of array records
- Replies: 9
- Views: 95626
Re: YAJLINTO handling varying number of array records
Look into the countprefix option. That is what you need to use to get a count of the actual number. Can’t type code on my phone or I’d try to give you an example.
If you really only want that data you should also look at using the path option to direct the parse to the bit though want.
If you really only want that data you should also look at using the path option to direct the parse to the bit though want.
- Tue Apr 29, 2025 4:16 pm
- Forum: HSSFR4
- Topic: Very slow (? hang ?) on SS_SAVE
- Replies: 2
- Views: 84774
Re: Very slow (? hang ?) on SS_SAVE
I have no clue as to a direct answer to your problem - but I can't help but wonder if there is not a better approach. Frankly I'm amazed that the process didn't just blow up at some point.
A multi-million-row spreadsheet seems insane - nobody can usefully work with that.
Can it not be grouped to ...
A multi-million-row spreadsheet seems insane - nobody can usefully work with that.
Can it not be grouped to ...
- Thu Apr 24, 2025 5:48 pm
- Forum: YAJL-ILE
- Topic: Trouble reading in an array
- Replies: 1
- Views: 27035
Re: Trouble reading in an array
Been a long time since I used the "raw" YAJL APIs. I tend to use DATA-INTO with YAJLINTO for most stuff.
That said - I seem to recall that YAJL_object_find will only locate children of the passed node. So you would need to first locate the "data" node and then from there locate the child "jobs ...
That said - I seem to recall that YAJL_object_find will only locate children of the passed node. So you would need to first locate the "data" node and then from there locate the child "jobs ...