> Have you looked at the FORMATTED-TIME function?

Thanks Paul, I did look at the FORMATTED-TIME function, but the finest 
resolution offered by that function is tenths of milliseconds (four fractional 
decimal digits), not even micro-seconds (which would require six fractional 
decimal digits).  That is not sufficient for accurate application timing values 
on today's hardware.  Two nearly-adjacent calls to that function are quite 
likely to return the same value.

I quote from the latest V6.4 COBOL Language Reference PDF, SC27-8713-03, 
Chapter 29, page 499:

Table 58. The permissible format strings for fractional-seconds time
Fractional-seconds time formats -|- Format literals
Basic local time -|- hhmmss.ssss

Peter

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to