In <col125-w3c5e39127e962ed6f1e9ea3...@phx.gbl>, on 06/09/2015
   at 10:04 AM, J R <jayare...@hotmail.com> said:

>The essence of her question was, having subtracted start stck from
>end stck, how to extract microseconds from the result? 

Divide by 4096, convert to decimal and edit.

         STCKF TOD
         MVI   TOD,0
         LG    RDIFF,TOD
         SRAG  RDIFF,RDIFF6
         CVD   RDIFF,PDIFF
         ED    MASK,PDIFF+2

TOD      DS    D
PDIFF    DS    D
RDIFF    EQU   0

Shirley the code[1] was obvious[2] from "convert to decimal or convert
to hh:mm:ss.ssssss." 

[1] Except for how he wants it to look, e.g., should there be
    commas in the mask?

[2] Assuming that you know the granularity of the clock
         
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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