Search found 200 matches

by jonboy49
Mon Mar 25, 2024 7:26 pm
Forum: RPG IV
Topic: Converting Hundred Year Date Plus Time to Timestamp
Replies: 6
Views: 34

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

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: 12
Views: 96

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: 1
Views: 60

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

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

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.
by jonboy49
Wed Mar 06, 2024 9:00 pm
Forum: RPG IV
Topic: I have a requirement to produce PDFs with large print and I am having issues, need help
Replies: 4
Views: 166

Re: I have a requirement to produce PDFs with large print and I am having issues, need help

The obvious first question - assuming you have stated the current process correctly: Why are you creating a TIFF from a PDF merely to create a PDF again. Doesn't seem to make any sense. Second: Do you know where in the process the "shrinkage" occurs? What are the font sizes in the original...
by jonboy49
Wed Mar 06, 2024 4:07 pm
Forum: HTTPAPI
Topic: HTTPAPI
Replies: 19
Views: 742

Re: HTTPAPI

I am not going to go through the hassle of setting up a TikTok account just so I can find information that you already have. Sorry I don't have that much time to spare.
by jonboy49
Wed Mar 06, 2024 3:59 pm
Forum: HTTPAPI
Topic: HTTPAPI
Replies: 19
Views: 742

Re: HTTPAPI

The Postman shows a failure so I'm not sure how that is supposed to help.

But you apparently have not read my post. I noted that you have not supplied the API details for the https://seller-us.tiktok.com/product/manage API.
by jonboy49
Wed Mar 06, 2024 12:41 am
Forum: YAJL-ILE
Topic: DATA-GEN \n and \"
Replies: 6
Views: 225

Re: DATA-GEN \n and \"

Sorry - I missed the fact that the " was wrong too. I was focussed on the /n newlines.

Wanna show us the data definitions and DATA-GEN statement?

What code page does your system use?