Search found 204 matches

by jonboy49
Thu Apr 11, 2024 4:36 pm
Forum: HTTPAPI
Topic: OUATH2
Replies: 9
Views: 345

Re: OUATH2

Glad Scott was able to sort it for you - he is much (much, much) more knowledgeable about this stuff than I am. Hopefully, your OAUTH transition will be as smooth as mine has been with Zoom. Once I had the token logic sorted, changing the individual APIs calls was pretty easy - so far anyway! Good l...
by jonboy49
Wed Apr 10, 2024 10:06 pm
Forum: HTTPAPI
Topic: OUATH2
Replies: 9
Views: 345

Re: OUATH2

How did you set the required form data? You haven't shown that code.
by jonboy49
Mon Apr 08, 2024 7:50 pm
Forum: HTTPAPI
Topic: Changing the log file
Replies: 2
Views: 204

Re: Changing the log file

Thanks, Scott - yes I meant the debug file and for some reason it did not occur to me to turn it off before changing the name. I plead senility and just too many things going on in my life! I can understand your confusion re cycling the server. The HTTPAPIs are called from a web server job and I tho...
by jonboy49
Sat Apr 06, 2024 6:05 pm
Forum: HTTPAPI
Topic: Changing the log file
Replies: 2
Views: 204

Changing the log file

We have experienced some random weirdness when using Zoom APIs recently. As a result, I am logging everything as I can't predict when/what will cause a problem. Of course, the log files get huge and I would like to switch them at least daily. I have modified my code to specify a different log file n...
by jonboy49
Mon Mar 25, 2024 7:26 pm
Forum: RPG IV
Topic: Converting Hundred Year Date Plus Time to Timestamp
Replies: 6
Views: 499

Re: Converting Hundred Year Date Plus Time to Timestamp

Then the code I gave you should work. Just substitute your own variable names for the numDate and numTime.

IF - the number represents HHMMSS. If it doesn't then we need to know what it does contain!
by jonboy49
Mon Mar 25, 2024 6:08 pm
Forum: RPG IV
Topic: Converting Hundred Year Date Plus Time to Timestamp
Replies: 6
Views: 499

Re: Converting Hundred Year Date Plus Time to Timestamp

If it is a 5 digit time field it cannot contain an HHMMSS value unless there is also an AM/PM indicator. Can you clarify please. The basic calc would be something like: **free dcl-s realDate date; dcl-s numDate int(10) inz(1); // 1 day past the base dcl-s numTime int(10) inz(1); // And first minute ...
by jonboy49
Fri Mar 22, 2024 10:32 pm
Forum: HSSFR4
Topic: HSSF how can format cell with currency "$"
Replies: 15
Views: 586

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

This is a WAG (Wild-Ass-Guess) but to format numbers suppressing leading zeros you use a format string of "#,##0.0000" - So my best guess is that to float in a currency symbol it would logically be "$,$$0.0000".

I have never done it and don't have time to play but ...
by jonboy49
Fri Mar 22, 2024 10:09 pm
Forum: HTTPAPI
Topic: OUATH2
Replies: 9
Views: 345

Re: OUATH2

Couple of thoughts. From the UPS docs (https://developer.ups.com/api/reference?loc=en_US#tag/OAuthClientCredentials_other) it would appear that they are expecting "application/x-www-form-urlencoded" but you are specifying "application/json". It also states that the request body s...
by jonboy49
Fri Mar 08, 2024 9:28 pm
Forum: Other ScottKlement.com Tools
Topic: base64_decode omitting CR=0D
Replies: 3
Views: 198

Re: base64_decode omitting CR=0D

Maybe this thread has some possible answers?

https://www.scottklement.com/forums/vie ... se64#p1756
by jonboy49
Fri Mar 08, 2024 4:09 pm
Forum: HSSFR4
Topic: Where can I find SK's Articles formerly on System iNetwork?
Replies: 3
Views: 210

Re: Where can I find SK's Articles formerly on System iNetwork?

Can you share the "secret source" for finding stuff on archive.org Scott? Damned if I can find anything on that list.