> Bit 51 in the TOD clock is the microsecond bit. Everything to the > right > of that is something less than a microsecond. If you have 64 bit register > capability, just load one register with a TOD value, then another with the > other TOD, and subtract to get the difference. You can then shift out > everything beyond bit 51, and you have the number of microseconds. Leave > it > without the shift, and call STCKCONV, and it will give you the time value > formatted in what you have specified on the call.
Don't forget that the 8 byte TOD is unsigned, so bit zero is part of the value, not the sign. You will need to use the subtract logical form to get the right answer without playing bit-shifting games, even in a 64 bit register. CC ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

