Search found 799 matches

by Scott Klement
Mon Oct 21, 2024 9:32 pm
Forum: General
Topic: Any open Source tool available to English to Spanish translation and vice versa
Replies: 8
Views: 292

Re: Any open Source tool available to English to Spanish translation and vice versa

My intention is to convert my examples to use DeepL. They have a free version that supports up to 500000 chars/month -- so it's pretty similar to the IBM Watson option.

Pricing: https://www.deepl.com/en/pro#developer
Docs: https://developers.deepl.com/docs/getti ... pi-request
by Scott Klement
Thu Oct 17, 2024 4:19 pm
Forum: YAJL-ILE
Topic: YAJL_GET_STRING maximum length
Replies: 2
Views: 245

Re: YAJL_GET_STRING maximum length

YAJL_GET_STRING_BUF has existed in YAJLR4 for many, many years to allow larger sizes to be returned.
by Scott Klement
Tue Oct 15, 2024 1:17 pm
Forum: HTTPAPI
Topic: Subscription Key in Header
Replies: 4
Views: 348

Re: Subscription Key in Header

What is the header you need to pass it in? Do you have an example of what it looks like?
by Scott Klement
Fri Oct 11, 2024 1:37 am
Forum: General
Topic: use oracle unixodbc driver in ibmi
Replies: 4
Views: 382

Re: use oracle unixodbc driver in ibmi

You shouldn't have to compile unixodbc, it's available in yum.

But, at least years ago, I wasn't able to get the ppc64 binaries for Oracle to work in PASE. I don't remember the details anymore, and its years later now, so things may have changed.

I wish you the best of luck.
by Scott Klement
Wed Oct 09, 2024 6:35 pm
Forum: General
Topic: use oracle unixodbc driver in ibmi
Replies: 4
Views: 382

Re: use oracle unixodbc driver in ibmi

As far as I know it's not possible to get Oracle UnixODBC drivers for IBM i. That said, it has been perhaps 5 years since the last time I tried.

Have you seen an article or post that implies this should work?
by Scott Klement
Fri Oct 04, 2024 3:41 pm
Forum: JDBCR4
Topic: JDBC_ExecUpd limited to 32767A
Replies: 2
Views: 431

Re: JDBC_ExecUpd limited to 32767A

Typically you'd use the JDBC_setString() to set the value of a VARCHAR field. (JDBC_ExecUpd is used for passing the SQL statement, but to set the variable values in the statement, you'd use JDBC_setString) Currently, the JDBC_setString() uses a 32k parameter. But, you have the source code, so you co...
by Scott Klement
Fri Oct 04, 2024 12:17 am
Forum: General
Topic: Calling Python from CLLE with parameters
Replies: 7
Views: 9646

Re: Calling Python from CLLE with parameters

IN THE CALL python YOU MAKE INSTEAD OF USING " ' " TRY TO PASS THEM , EXAMPLE PYHON3 APP.py 'parm1' 'parm2' you shouldn't have any problems You are replying to a thread that is 6 months old and not needing a reply. Your post also doesn't make much sense. It doesn't seem to relate at all t...
by Scott Klement
Wed Oct 02, 2024 3:18 pm
Forum: YAJL-ILE
Topic: DATA-INTO crashing with UTF16 in CTL-OPT
Replies: 6
Views: 856

Re: DATA-INTO crashing with UTF16 in CTL-OPT

I was able to reproduce the problem. This appears to be a bug in RPG (rather than YAJL). RPG is calling YAJLINTO and passing it parameters. One of the parameters is the CCSID of the input data. In your case, the input is the string 's', which is CCSID(*UTF8), so the CCSID it passes to YAJLINTO shoul...
by Scott Klement
Tue Oct 01, 2024 11:24 pm
Forum: RPG IV
Topic: RPG and Java Lists
Replies: 8
Views: 909

Re: RPG and Java Lists

That explains it. Thanks!