Search found 652 matches

by Scott Klement
Fri Feb 23, 2024 11:51 pm
Forum: FTPAPI
Topic: NAMEFMT 1 - 500 Subcommand NAME not valid
Replies: 7
Views: 2606

Re: NAMEFMT 1 - 500 Subcommand NAME not valid

FTPAPI is automatically in namefmt 1. It is already set up the way you want it.

Only the server has to be changed, you do this by calling FTP_namfmt.
by Scott Klement
Tue Feb 20, 2024 7:58 pm
Forum: HTTPAPI
Topic: Using Oauth2 with HTTPAPI
Replies: 8
Views: 714

Re: Using Oauth2 with HTTPAPI

It is backward compatible, if you replace the library everything will keep working.

If you want, you can test this by installing it into a different library, and just using the library list to control which copy you're using.
by Scott Klement
Tue Feb 20, 2024 10:01 am
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 529

Re: REST API connection issue

Is there any difference between TLS_AES_256_GCM_SHA384 and AES_256_GCM_SHA384? No difference. They are the same thing. There is no standard naming for cipher suites, so different vendors make the names slightly different -- in this case, one has "TLS_" at the start and the other does not....
by Scott Klement
Tue Feb 20, 2024 12:09 am
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 529

Re: REST API connection issue

Is there anything I can try prior to installing further PTFs? Our hardware is managed by our corporate business and its a long formal process to get them to do this across our multiple servers. Connection Reset normally means something has violated a protocol. When one side detects that the other i...
by Scott Klement
Mon Feb 19, 2024 8:03 am
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 529

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: 303

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: 341

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: 618

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: 618

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: 618

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.