On 2/3/2011 8:41 AM, Micheal Butz wrote:
I do a substr to get the last 6 digits of the date/time. The microseconds portion. And substract. Value = after - before

To subtract TOD values, use unsigned binary doubleword arithmetic. If you want resolution to microseconds, shift both doubleword values right by 12 bits before subtracting.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
[email protected]
http://www.phoenixsoftware.com/

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

Reply via email to