On Wed, 4 Jan 2012 20:17:06 -0700, Paul Gilmartin <[email protected]> wrote:
>On Jan 4, 2012, at 19:21, Brian Westerman wrote: >> >> In the past I have always calculated elapsed time via starting with the STCK >> times, subtracting them and then converting them to a readable format, but >> in this case I have the fields already as start-MM/DD/YY HH:MM:SS >> end-MM/DD/YY HH:MM:SS. >> >> When I work backwards from seconds to hours, I keep getting screwed up on >> the days part. Is there an already existing program I can copy that someone >> can share before I drive myself nuts? (well, more nuts). >> > http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/edclb1b0/3.186 > http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/edclb1b0/3.616 > >-- gil That's great, but not assembler. I don't want to be an assembler bigot, but I don't want to move outside of assembler if I don't absolutely have to. I have the logic in my mind and it's fairly trivial so the overhead of loading C is not what I am looking for. But thanks for the help. Brian
