Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

CICS :: RE: Get system time in micro second or clock uint.

$
0
0
Author: steve-myers
Posted: Wed Sep 07, 2016 11:59 pm (GMT 5.5)

Robert Sample wrote:
2-s complement arithmetic has no bearing on the TOD clock. ...I've written a COBOL TOD translator, and your D14F0580 A6DE7000 represents September 7, 2016 at 12:33:19.628736 AM (which probably does not include the GMT offset

No argument. But it does matter to CVDG.

Actually there are two conversions to get local time; first you add CVTLDTOL (the main conversion) and then subtract CVTLSO (leap seconds). Do not use CVTTZ because you lose precision and it does not include leap seconds. FWIW, you are correct; D14F0580 A6DE7000 is not adjusted.


Viewing all articles
Browse latest Browse all 9405

Trending Articles