Re: accept ... from time



My experience with MF says that it is different from operationg system
and MF-Cobol-Version if the time is 6 or 8 digits. The newest versions
are 8 digits. I use numeric fields for time, f.e. START-ZEIT PIC 9(8) COMP.
and receive f.e. 13250135 now. (35 hunderstel der Sekunde, der Sprung ist 0
und 5 hunderstell)

michael.bierenfeld@xxxxxx wrote:

Hello,

I want to measure the execution time of a sql statement. Can I get the
time in milliseconds to be displayed.

I have

accept START-TIME from time

EXEC SQL SELECT ... something

accept END-TIME from time

DISPLAY "EXECUTION lasted from" START-TIME
DISPLAY " till " END-TIME

START-TIME and END-TIME is pic x(8) this is hh24:mm:ss. But I need
fractions of seconds. How can I do this. Target System is Microfocus
and AIX.

Kind Regards

Michael

--
Vaclav Snajdr
.



Relevant Pages

  • Re: Cobol Myth Busters
    ... than just TRUNC (wich has 3 flavors on IBM zSeries). ... using 18 digits: packed decimal is 74% faster than binary ... packed decimal is 60% slower than binary ... DISPLAY compared to packed decimal ...
    (comp.lang.cobol)
  • Re: FPGA Journal Article
    ... 10 decimal digits fixed-point display, ... Above 1 MHz limited by time base accuracy, below 1 MHz by display ... but clutter up the design. ... A 20 times more accurate time base would cost <$20 extra. ...
    (comp.arch.fpga)
  • Re: Price Data Formatting
    ... When you load in a datafile of a stock or commodity, ... only 3 digits following the decimal rather than 4. ... So when I display prices in my application, I want to use the SAME format as ... It doesn't fit well in my textboxes for display. ...
    (microsoft.public.vb.general.discussion)
  • Re: Reducing load for LAMP app?
    ... Using microtime() as-is: 2.6941299438477E-5 ... 2.6941299438477E-5 is standard scientific notation for display of very large or very small numbers. ... Another point here is that floating point numbers have up to 15 significant digits ... I'd suggest you follow up in the Linux admin groups - where the experts hang out. ...
    (comp.lang.php)
  • Re: 7-bar display
    ... I would like to display digits with a 7-bar display, ... mitred just like on a pocket calculator. ... Maybe the font solution would be best. ... I just thought of another way you could do your calculator digits. ...
    (comp.infosystems.www.authoring.html)