Search found 652 matches

by Scott Klement
Tue Apr 09, 2024 8:50 pm
Forum: HTTPAPI
Topic: OUATH2
Replies: 9
Views: 423

Re: OUATH2

I made some changes but for some reason it still thinks I am using JSON. I am baffled. The log says you are sending application/x-www-form-urlencoded and the error message says nothing about the content-type. why do you say it is still JSON? I completely disagree with that assessment. I think the p...
by Scott Klement
Tue Apr 09, 2024 8:40 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 494

Re: Request: make parser locale independent

That's a good find!

Please download the current one from https://www.scottklement.com/yajl/ and see if it fixes the problem for you.

Thanks!
by Scott Klement
Sat Apr 06, 2024 8:05 pm
Forum: HTTPAPI
Topic: Changing the log file
Replies: 2
Views: 262

Re: Changing the log file

What do you mean by log files? Do you mean the http_debug log from HTTPAPI? You should be able to call http_debug(*ON: filename); Then when you want to change the name, call http_debug(*off) and http_debug(*on: newfilename); But you also mention cycling a server, and HTTPAPI doesn't have servers... ...
by Scott Klement
Thu Apr 04, 2024 3:58 am
Forum: HTTPAPI
Topic: (GSKit) Access to the key database is not allowed (ssl_error 6003)
Replies: 3
Views: 281

Re: (GSKit) Access to the key database is not allowed (ssl_error 6003)

Here's the specific situation, and perhaps based on that you can give me your opinion on best solution: (My take on what little I know and am learning about the certificate store is that access to it is all or nothing, meaning you cannot limit an authorized user to a specific portion or key in the ...
by Scott Klement
Wed Apr 03, 2024 12:03 am
Forum: HTTPAPI
Topic: (GSKit) Access to the key database is not allowed (ssl_error 6003)
Replies: 3
Views: 281

Re: (GSKit) Access to the key database is not allowed (ssl_error 6003)

Is this being overly secure? That depends on what you're storing in the certificate store and why your company feels the need to keep it secured. My experience is that people who take the attitude of keeping it secured usually can't answer that question. They just keep it secured because "IBM ...
by Scott Klement
Mon Apr 01, 2024 6:05 pm
Forum: HSSFR4
Topic: HSSF how can format cell with currency "$"
Replies: 15
Views: 735

Re: HSSF how can format cell with currency "$"

Again, if you want help, post an example that I can load and run on my system. Don't waste my time with another example that I can load and run. The example you posted relies on external files and programs that are unique to your system and cannot be loaded and run on mine. Provide a simple example ...
by Scott Klement
Thu Mar 28, 2024 5:13 pm
Forum: Other ScottKlement.com Tools
Topic: SNDPIPE
Replies: 1
Views: 260

Re: SNDPIPE

You are attempting to run "PATH=$PATH:/QOpenSys/pkgs/bin" as if it is a program, and then send it a string that says "curl -help". Seems to me that this is correct behavior, you should receive nothing, since setting the PATH variable is not a program, and therefore sending data t...
by Scott Klement
Wed Mar 27, 2024 4:37 am
Forum: HSSFR4
Topic: HSSF how can format cell with currency "$"
Replies: 15
Views: 735

Re: HSSF how can format cell with currency "$"

Curramt = HSSFWorkbook_createCellStyle(wb); DataFmt = HSSFWorkbook_createDataFormat(wb); TempStr = new_String('$#,##0.00'); NumFmt = HSSFDataFormat_getFormat(DataFmt: TempStr); HSSFCellStyle_setDataFormat(Curramt: NumFmt); Curreur = HSSFWorkbook_createCellStyle(wb); DataFmt = HSSFWorkbook_createDat...
by Scott Klement
Tue Mar 26, 2024 11:07 pm
Forum: HSSFR4
Topic: HSSF how can format cell with currency "$"
Replies: 15
Views: 735

Re: HSSF how can format cell with currency "$"

The fact that you're seeing the ¬ character means that, somehow, it is being translated into EBCDIC (and translated incorrectly at that.) Nothing in my code -- or the code that you just posted -- translates the text to EBCDIC. Please provide a full, complete, program that I can load and run on my sy...
by Scott Klement
Tue Mar 26, 2024 8:22 pm
Forum: HTTPAPI
Topic: No JSON Returned if its not HTTP/1.1 200 OK
Replies: 7
Views: 348

Re: No JSON Returned if its not HTTP/1.1 200 OK

Thanks for the that, Scott I can get the 406 now ... I am more concerned about seeing the returned JSON. As I said, when it is not 200 OK the JSON does not get returned ! Any help appreciated I'm sorry, I don't understand where you are stuck. You've already discovered from another thread as well as...