Search found 658 matches

by Scott Klement
Thu Apr 25, 2024 3:21 am
Forum: General
Topic: Calling Python from CLLE with parameters
Replies: 4
Views: 10

Re: Calling Python from CLLE with parameters

Python WILL work.. it's just more complicated than other solutions. I'm just not understanding why you'd want to use it for this. If there's actually some stuff going on that makes Python a better choice because you're using some python modules you installed via pip, or you are using a large valuabl...
by Scott Klement
Wed Apr 24, 2024 9:59 pm
Forum: General
Topic: Calling Python from CLLE with parameters
Replies: 4
Views: 10

Re: Calling Python from CLLE with parameters

If you like the idea of using UNIXCMD, there's a presentation with examples here: https://www.scottklement.com/presentations/#UNIXCMD If you liked the idea of reading the IFS directly with RPG, there's an example of one method here (albeit, this is a very old example) https://www.scottklement.com/rp...
by Scott Klement
Wed Apr 24, 2024 9:55 pm
Forum: General
Topic: Calling Python from CLLE with parameters
Replies: 4
Views: 10

Re: Calling Python from CLLE with parameters

Unix programs are not meant to be able to send output through their parameters. (Though, the way you're doing it wouldn't work even for a native IBM i program where output can be returned via parameters... but since Unix programs can't return output via parameters, fixing that wouldn't help.) Instea...
by Scott Klement
Mon Apr 22, 2024 5:25 pm
Forum: HSSFR4
Topic: Copy Sheet (workbook.cloneSheet)
Replies: 1
Views: 16

Re: Copy Sheet (workbook.cloneSheet)

I am trying to add functionality to be able to copy a sheet (workbook.cloneSheet) and to delete a sheet (workbook.removeSheet). How is this done? What do you mean? Are you asking how to call Java code from RPG? It is described in the ILE RPG Programmer's Guide. I have tried to add a method by copyi...
by Scott Klement
Mon Apr 22, 2024 5:17 pm
Forum: RPG IV
Topic: MCH3601 unmonitored by HTTPAPIR4
Replies: 7
Views: 270

Re: MCH3601 unmonitored by HTTPAPIR4

I'm sure the problem you solved was to fix the 404 error. But it doesn't explain why you'd get an MCH3601... There were fixes in the past to fix MCH3601 in HTTPAPI.
by Scott Klement
Mon Apr 22, 2024 5:48 am
Forum: RPG IV
Topic: MCH3601 unmonitored by HTTPAPIR4
Replies: 7
Views: 270

Re: MCH3601 unmonitored by HTTPAPIR4

What version of HTTPAPI?
by Scott Klement
Tue Apr 16, 2024 7:36 pm
Forum: HTTPAPI
Topic: host differs to domain fronting proxy
Replies: 5
Views: 625

Re: host differs to domain fronting proxy

Yeah, that shouldn't be in there... probably got accidentally added via copy/paste and nobody noticed because the proxy support worked.

Can you try the latest beta copy of HTTPAPI and see if it is resolved for you?
https://www.scottklement.com/httpapi/beta/
by Scott Klement
Tue Apr 16, 2024 5:22 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 667

Re: Request: make parser locale independent

This is perfect, I'll go ahead and make those few changes and put it online for the 6.1 version.

Right now there is no public repository for my fork of YAJL -- but, that is on my to-do list.
by Scott Klement
Mon Apr 15, 2024 9:25 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 667

Re: Request: make parser locale independent

I understand. I sympathize with you, but I can't support V6R1.

If you'd like to contribute what you have working on 6.1 back to the project, I can update the download that's made for IBM i 6.1 customers to the newer code that you've got working.
by Scott Klement
Mon Apr 15, 2024 9:24 pm
Forum: HTTPAPI
Topic: host differs to domain fronting proxy
Replies: 5
Views: 625

Re: host differs to domain fronting proxy

Oh, you're saying that HTTP/1.1 is somehow being added to the host: header? That shouldn't be happening.