Search found 45 matches
- Mon Mar 25, 2024 7:43 pm
- Forum: RPG IV
- Topic: Converting Hundred Year Date Plus Time to Timestamp
- Replies: 6
- Views: 4044
Re: Converting Hundred Year Date Plus Time to Timestamp
Agreed. Thank you so much jonboy.
- Mon Mar 25, 2024 6:54 pm
- Forum: RPG IV
- Topic: Converting Hundred Year Date Plus Time to Timestamp
- Replies: 6
- Views: 4044
Re: Converting Hundred Year Date Plus Time to Timestamp
The hundred year date field is 5 digits (42109) and the time field is 6 digits (170931).
- Mon Mar 25, 2024 6:23 pm
- Forum: RPG IV
- Topic: Converting Hundred Year Date Plus Time to Timestamp
- Replies: 6
- Views: 4044
Re: Converting Hundred Year Date Plus Time to Timestamp
It does not contain HHMMSS. It's just a number. Here is what the 2 fields values are: 100 YR TRANS DATE TRANS. TIME 42,109 170,931 42,109 171,058 42,142 111,027 42,254 31,357 42,254 35,251 42,254 40,432 42,254 40,915 42,444 75,103 42,444 80,958
- Mon Mar 25, 2024 5:23 pm
- Forum: RPG IV
- Topic: Converting Hundred Year Date Plus Time to Timestamp
- Replies: 6
- Views: 4044
Converting Hundred Year Date Plus Time to Timestamp
I have a 5 digit field that contains a 100 year date (Number of days difference between the current date and 1899-12-31) and a 5 digit time field (HHMMSS) and I need to convert them to an *ISO timestamp. They are in a a very old file. How would I do that? Thanks.
- Thu Feb 29, 2024 2:36 am
- Forum: HTTPAPI
- Topic: HTTP Service Works one time and gets Internal Server Error
- Replies: 2
- Views: 1246
HTTP Service Works one time and gets Internal Server Error
This is the fourth HTTP service we have created that processes JSON strings. The other three run fine. This one does not. I'm currently testing it through SoapUI 5.7.0 until the .Net app is ready. When I start the HTTP service and I post a request it is consumed by the program correctly and returns ...
- Mon Feb 19, 2024 3:57 am
- Forum: RPG IV
- Topic: Converting EXTFLD in a External Ds to Free Format?
- Replies: 1
- Views: 1295
Converting EXTFLD in a External Ds to Free Format?
I have the code for an external DS below that doesn't covert to free format. I just completed converting a 4000+ line program to Free except for this DS. I know Scott sometimes complains about the code looking sloppy. I put it in the code /code block. Not sure what else to do. D CRSSTL E DS EXTNAME(...
- Sat Feb 17, 2024 5:54 am
- Forum: RPG IV
- Topic: QDCXLATE Not converting the brackets in JSON String
- Replies: 2
- Views: 1359
Re: QDCXLATE Not converting the brackets in JSON String
Okay I can use iconv(). I have the example code for it. Thanks Scott.
- Sat Feb 17, 2024 12:14 am
- Forum: RPG IV
- Topic: QDCXLATE Not converting the brackets in JSON String
- Replies: 2
- Views: 1359
QDCXLATE Not converting the brackets in JSON String
We use QDCXLATE to convert ASCII to EBCDIC for JSON string that come through a web service. It doesn't convert the JSON brackets [ ] correctly. We tried both QEBCDIC and QTCPEBC and it did not work. Got like a '?' instead. We are trying now to use CCSID(1208) on the JSON string to see if that works....
- Sat Feb 03, 2024 11:28 pm
- Forum: RPG IV
- Topic: %DIFF Issue Utilizing Milliseconds
- Replies: 1
- Views: 1951
%DIFF Issue Utilizing Milliseconds
I have a program that needs to calculate the amount of seconds for the Data Queue Wait time. The program runs queries every 3 minutes and takes directives through the data queue so the processing time needed to process those directives is subtracted from the Data Queue Wait Time so that the queries ...
- Sun Jan 07, 2024 12:25 am
- Forum: YAJL-ILE
- Topic: How Intelligent is YAJLDTAGEN?
- Replies: 1
- Views: 2074
How Intelligent is YAJLDTAGEN?
We are beginning to use Data-Gen with YAJLDTAGEN as we recently went from V7.2 to V7.4. We have a JSON document that contains a "response" object, a "body" object and a JSON array called "printers". If errors are encountered during processing, we only want to generate t...