Search found 658 matches

by Scott Klement
Mon Feb 19, 2024 8:03 am
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 661

Re: REST API connection issue

It is attempting to perform a TLS ("SSL") handshake and is getting an error saying the connection was reset. How is it supposed to print the server side certificate if it can't complete a handshake without the connection being reset? Think of it this way: Imagine you call to order a pizza,...
by Scott Klement
Mon Feb 19, 2024 7:53 am
Forum: RPG IV
Topic: Converting EXTFLD in a External Ds to Free Format?
Replies: 1
Views: 429

Re: Converting EXTFLD in a External Ds to Free Format?

Code: Select all

Dcl-DS CRSSTL EXTNAME('CRSSTL') INZ;
   TTYPEXX    EXTFLD('TTYPE@@');
End-Ds;
by Scott Klement
Sat Feb 17, 2024 3:44 am
Forum: RPG IV
Topic: QDCXLATE Not converting the brackets in JSON String
Replies: 2
Views: 461

Re: QDCXLATE Not converting the brackets in JSON String

You shouldn't be converting ASCII to EBCDIC. Most computers no longer use ASCII. It is an outdated standard... they are using Unicode, not ASCII. But even if you were... "ASCII" isn't specific. It's a whole family of different character encodings! There are many, many, many different thing...
by Scott Klement
Thu Feb 15, 2024 11:15 pm
Forum: JDBCR4
Topic: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced
Replies: 5
Views: 1204

Re: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced

I've mostly run into problems with 65535 when working with "regular" embedded SQL rather than JDBC. (And yes, having QCCSID set to 65535 and the calculated 'default' CCSID set to 37 is the exact circumstance under which you will run into them.) Note that this doesn't have to be fixed syste...
by Scott Klement
Thu Feb 15, 2024 6:12 am
Forum: JDBCR4
Topic: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced
Replies: 5
Views: 1204

Re: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced

Could you have it set in a QIBM_RPG_JAVA_PROPERTIES environment variable, maybe?
by Scott Klement
Thu Feb 15, 2024 5:24 am
Forum: JDBCR4
Topic: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced
Replies: 5
Views: 1204

Re: QRNXUTIL _QRNI_getJNIEnv Pointer not set for location referenced

As far as I can tell from your message, the error is "JVMJ9VM007E Command-line option unrecognised: -Djava.compiler=NONE
Unable to create Java Virtual Machine"

JDBCR4 doesn't set that option. You'll need to figure out what is setting it, and change it so that it's not being set.
by Scott Klement
Thu Feb 15, 2024 5:18 am
Forum: HSSFR4
Topic: ss_open_object_group
Replies: 1
Views: 278

Re: ss_open_object_group

I'm not familiar with ss_open_object_group or ss_close. Can you explain what they do? Are they similar to ss_begin_object_group and ss_end_object_group? Perhaps you created your own similar tool? ss_begin_object_group and ss_end_object_group merely tell Java that your program is done with the refere...
by Scott Klement
Thu Feb 08, 2024 7:57 pm
Forum: FTPAPI
Topic: NAMEFMT 1 - 500 Subcommand NAME not valid
Replies: 7
Views: 2886

Re: NAMEFMT 1 - 500 Subcommand NAME not valid

I'm very familiar with the difference, Cinzia.

Please understand that not every software package in the world works the same way.

IBM's FTP is *NOT* the same thing as FTPAPI. FTPAPI works differently.
by Scott Klement
Thu Feb 08, 2024 7:48 pm
Forum: HTTPAPI
Topic: cookie_dump
Replies: 1
Views: 474

Re: cookie_dump

Recently, we brought a high-volume HTTPAPI application to production. We're now in the process of monitoring for errors and performance issues. We're using cookies and a cookie file to store a session cookie. I noticed, that every API call we do results in an update of the cookie file. Correct, thi...
by Scott Klement
Mon Feb 05, 2024 6:58 pm
Forum: FTPAPI
Topic: NAMEFMT 1 - 500 Subcommand NAME not valid
Replies: 7
Views: 2886

Re: NAMEFMT 1 - 500 Subcommand NAME not valid

There is no need to change FTPAPI to be in NAMEFMT 1, it is always in NAMEFMT 1. (It doesn't understand NAMEFMT 0) The 'NAMEFMT' command that you type in the IBM FTP client is not sent to the server (which is what you're trying to do.) Instead, it sees the command and changes the client's behavior t...