Search found 662 matches

by Scott Klement
Thu Mar 07, 2024 6:44 am
Forum: HTTPAPI
Topic: HTTPAPI
Replies: 19
Views: 2523

Re: HTTPAPI

If you don't agree, then I will be forced to go with GETURI (acommodates OAuth token key). No choice .. HTTPAPI does NOT ! This is factually incorrect. HTTPAPI and GETURI do exactly the same thing. If my choice is between writing the code for you for free vs. having you purchase Brad's product, and...
by Scott Klement
Thu Mar 07, 2024 6:26 am
Forum: RPG IV
Topic: I have a requirement to produce PDFs with large print and I am having issues, need help
Replies: 4
Views: 1298

Re: I have a requirement to produce PDFs with large print and I am having issues, need help

I've used PDFLIB -- they make it for all platforms, including IBM i, and it works very nicely. They provide documentation of how to make PDFs natively from ILE languages such as RPG. So instead of doing weird things like creating an AFP, converting it to TIFF and converting it to PDF, you can just c...
by Scott Klement
Thu Mar 07, 2024 6:16 am
Forum: General
Topic: Batch CL for sFTP with Password Authentication
Replies: 5
Views: 1315

Re: Batch CL for sFTP with Password Authentication

The $ character has a special meaning in a shell script, so to put a $ in your SSH_ASKPASS script you would need to escape it properly.
by Scott Klement
Wed Mar 06, 2024 6:18 am
Forum: YAJL-ILE
Topic: DATA-GEN \n and \"
Replies: 6
Views: 2086

Re: DATA-GEN \n and \"

I was thinking about this, and it'd probably be helpful if I explained my analysis in more detail. The reason you'd get a result like the one that simonerotax posted is because you had a program like this one: ctl-opt option(*srcstmt); dcl-s theResult varchar(1000); dcl-c LF x'25'; dcl-ds data quali...
by Scott Klement
Wed Mar 06, 2024 4:59 am
Forum: YAJL-ILE
Topic: DATA-GEN \n and \"
Replies: 6
Views: 2086

Re: DATA-GEN \n and \"

I don't see what this has to do with code pages or beautify. This appears to be completely normal and expected data. You are embedding a JSON document inside of another JSON document. When you do that, the JSON document has to be treated as a string -- so any special characters must be escaped. This...
by Scott Klement
Wed Mar 06, 2024 4:55 am
Forum: General
Topic: Batch CL for sFTP with Password Authentication
Replies: 5
Views: 1315

Re: Batch CL for sFTP with Password Authentication

On Unix systems, "tty" (teletype) is synonymous with "terminal". So what this error message is telling you is that it's trying to read the password from the terminal -- and it can't because there is no terminal associated with your session. This tells me that, for some reaon, SSH...
by Scott Klement
Mon Mar 04, 2024 9:59 pm
Forum: YAJL-ILE
Topic: JSONWEBSRV.sqlrpgle
Replies: 26
Views: 3326

Re: JSONWEBSRV.sqlrpgle

As this thread is no longer related to JSONWEBSRV.sqlrpgle, I am going to close it. Please post follow-ups on the other thread.
https://www.scottklement.com/forums/viewtopic.php?t=441

It is very difficult to keep track of a conversation when information is split across two threads.
by Scott Klement
Mon Mar 04, 2024 3:43 am
Forum: HTTPAPI
Topic: HTTPAPI
Replies: 19
Views: 2523

Re: HTTPAPI

I'm happy to answer questions about HTTPAPI. If you want me to create a TIktok account and research their APIs, then determine how to code them, so I can decide if your approach works and provide guidance, that's asking an awful of me. I'd be willing to do it for a consulting fee. But it's too much ...
by Scott Klement
Fri Mar 01, 2024 6:36 pm
Forum: HTTPAPI
Topic: HTTPAPI
Replies: 19
Views: 2523

Re: HTTPAPI

Do you not have a QRPGLESRC file? Kinda sounds like someone installed it and then deleted that file.
by Scott Klement
Thu Feb 29, 2024 8:44 am
Forum: HTTPAPI
Topic: HTTP Service Works one time and gets Internal Server Error
Replies: 2
Views: 1063

Re: HTTP Service Works one time and gets Internal Server Error

A program running on an Apache server is ending without sending a response.

This has nothing whatsoever to do with HTTPAPI.