> I need my product to report on the amount of clock time aprocedure > took. I have captured the STCK before and after theprocedure. The > procedures take very little time and I want to show theelapsed time > to the end user. > > As two examples > > Start Time CF115F56BCCEB945 > End Time CF115F57 1ED82BC3 > difference 000000006209727E > > Start Time CF115F58 19228AC5 > End Time CF115F582B2F8951 > difference 00000000 120CFE8C > > I?d like to display this elapsed time in my job log as anice > readable value but I am unsure how this difference in STCK should > beformatted. Since it?s the difference between two STCK a STCKCONV > doesn?tseem appropriate anymore. > > I?d like to show this as ?Your procedure took nn.nn.n.n > microseconds?,or some variation on this theme.
If you know that the time difference will be less than 24 hours, you can add X'8126D60E46000000' (the TOD value at midnight on Jan 1, 1972), and pass that to STCKCONV or BLSUXTOD, and just use the time portion of the date/time that is returned. Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN