Dmitri,
I am very sorry that I did not pay closer attention to your original note.
The only ways I know are to do a WRITE to a disk record with a Z field in it
(don't refer to the Z field in your program) or to use embedded SQL like so:
c/exec sql                                           
c+ select current timestamp into :wrkTime from onerec
c/end-exec                                           

You should create a work file with one record in it for efficiency.  But
won't, the cost of calculating those fractions of a millisecond be greater
than the resolution you're looking to achieve?

Buck Calabro
Aptis; Albany, NY
"Nothing is so firmly believed as
 that which we least know" -- Michel Montaigne
Visit the Midrange archives at http://www.midrange.com

> -----Original Message-----
> From: Dimitri Efimov 
> Sent: Tuesday, February 13, 2001 1:01 PM
> To:   Buck Calabro; MIDRANGE-L@midrange.com
> Subject:      RE: Mcsec in Timestamp, is it possible?
> 
> Thanks,
> 
> but I can get timestamp, the point is how make the system to fullfil ALL 6
> digits of milliseconds? Now I get itn like: MMM000 (milliseconds are ok,
> but
> MICROSECONDS are in zero)
> 
> Dmitri
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.