On Fri, 16 Sep 2022 11:18:14 -0500, Stefan Lezzi wrote:
>
>I want to format a STCK/TOD with microseconds, but I found only the method to 
>format it with hundredths of a second:
>
>C'"TRNSTCK":"',393,8,DC1,EDIT=(TTTT-TT-TT),C'T',                
>               393,8,TC4,EDIT=(TT:TT:TT.TT),C'0000+00:00',C'",',
> 
What time scale do you want?  IBM recommends that (E)TOT be set to
TAI minus 10 seconds.  The practice varies from site to site.

If you want TAI, add ten seconds to TOD.

If you want UTC, subtract CVTLSO from TOD.

If you want local time, subtract CVTLSO and add CVTLDTO to TOD.

What do you want to happen if CVTLSO and/or CVTLDTO change
between recording of the data and your DFSORT run?


>And I know how to calculated an elapsed time in microseconds:
>
>C'"ELAMICS":"',(517,8,BI,SUB,393,8,BI),DIV,+4096,C'",',

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to