Search found 636 matches

by Scott Klement
Mon Jan 29, 2024 10:23 pm
Forum: HTTPAPI
Topic: HTTP client transport supports binary payloads (backward compatibility)
Replies: 1
Views: 1074

Re: HTTP client transport supports binary payloads (backward compatibility)

Can you explain what you mean by "change this default behavior... at the system-wide level"? It seems to me that it's already changed at the system-wide level. Can you explain what problems it causes you? I'm not seeing why it would cause problems. Also, why are you asking this in the HTTP...
by Scott Klement
Mon Jan 29, 2024 10:13 pm
Forum: YAJL-ILE
Topic: YAJL -- Power 10 and V7R5 Compatiblitly
Replies: 1
Views: 1486

Re: YAJL -- Power 10 and V7R5 Compatiblitly

Yes, it is compatible.
by Scott Klement
Mon Jan 29, 2024 10:12 pm
Forum: HTTPAPI
Topic: HTTPAPI V7R5 and Power 10 Compatibility.
Replies: 1
Views: 1517

Re: HTTPAPI V7R5 and Power 10 Compatibility.

I'm not aware of any reason it wouldn't be compatable. That said, I have only tested recent versions -- none of them have needed any changes.
by Scott Klement
Thu Jan 25, 2024 7:11 pm
Forum: General
Topic: Looking to do some opensource projects to bring my skills current
Replies: 1
Views: 1355

Re: Looking to do some opensource projects to bring my skills current

I never know how to answer things like this. Open source (which is two words, by the way) enables you to access the source code and to make your own additions/changes. Of course, there is no guarantee that the project would accept your changes if you submitted them, but... they might, or you could c...
by Scott Klement
Wed Jan 24, 2024 10:04 pm
Forum: General
Topic: copy file txt
Replies: 3
Views: 1275

Re: copy file txt

Sounds like your file has been marked with the wrong CCSID for the data that's in it. For example, maybe the file is set as CCSID 819 (iso-8859-1) when the reality is that the data is in 1208 (UTF-8). Since characters beyond the basic ones use multiple bytes in UTF-8 (but don't in iso-8859-1) the sy...
by Scott Klement
Wed Jan 24, 2024 9:56 pm
Forum: JDBCR4
Topic: Accesssing External Databases
Replies: 4
Views: 1955

Re: Accesssing External Databases

Normally, Java will only find JAR files that are explicitly listed in the CLASSPATH. So if you are telling me that it's not located where it's listed in the CLASSPATH, then I'm very confused. The only thing I can think of is that someone put it into the Java Extensions directory. Last time I used it...
by Scott Klement
Sun Jan 21, 2024 8:41 pm
Forum: JDBCR4
Topic: Accesssing External Databases
Replies: 4
Views: 1955

Re: Accesssing External Databases

My as400 is V6R1 V6R1 won't run on an AS/400. The last AS/400 was made 24 years ago. It is time to get a new computer. In Scott's manual, it says to: Set CLASSPATH as follows: ADDENVVAR ENVVAR(CLASSPATH) VALUE('/java/jdbc/jdts-1.3.1.jar') In my as400 in the indicated directory: /java/jdbc/ jdts-1.3...
by Scott Klement
Mon Jan 15, 2024 5:23 am
Forum: YAJL-ILE
Topic: What's the best way to log JSON request and response?
Replies: 4
Views: 1645

Re: What's the best way to log JSON request and response?

And, again... I don't recommend doing that.

But, I feel like I've already explained how you can make your code more efficient.
by Scott Klement
Sun Jan 14, 2024 10:40 am
Forum: YAJL-ILE
Topic: What's the best way to log JSON request and response?
Replies: 4
Views: 1645

Re: What's the best way to log JSON request and response?

Hello everyone, i used this code below to get string json request and response: D docNode S Like(yajl_val) D requestBody S 16100A D responseBody S 16100A ... docNode = yajl_stdin_load_tree(*on:error); requestBody = yajl_StringifyStr(docNode); Do you understand what you're doing? You are taking the ...
by Scott Klement
Sun Jan 14, 2024 8:47 am
Forum: FTPAPI
Topic: New Version 2.6 brings FTPS (TLS/SSL) support.
Replies: 1
Views: 1503

Re: New Version 2.6 brings FTPS (TLS/SSL) support.

The primary difference in coding FTPS is extra parameters to the FTP_open() procedure to tell it to use secure control and data channels. For example: /if defined(*CRTBNDRPG) ctl-opt dftactgrp(*no); /endif ctl-opt BNDDIR('FTPAPI'); /copy FTPAPI_H dcl-s msg char(52); dcl-s sess int(10); // connect to...