I am doing this in Rexx exec processing a SVC dump after calling
BLSUXTOD. To convert the double word to a 26 character string I use
the last 6 digits I understand I can bypass this conversion and just
do the subtraction as you said on the double word regardless wouldn't
the results be the same. ???
Sent from my iPhone
On Feb 3, 2011, at 11:57 AM, Edward Jaffe
<[email protected]> wrote:
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
----------------------------------------------------------------------
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