× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Mcsec in Timestamp, is it possible?
  • From: Joel Fritz <JFritz@xxxxxxxxxxxxxxxx>
  • Date: Tue, 13 Feb 2001 10:18:19 -0800

At least in RPG you can't with the TIME opcode.  The manual says:

"If the Result field is a Timestamp field, the last 3 digits in the
microseconds part is always 000."

> -----Original Message-----
> From: Dimitri Efimov [mailto:defimov@wiese.com.pe]
> Sent: Tuesday, February 13, 2001 10:01 AM
> 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
> 
> 
> -----Mensaje original-----
> De: Buck Calabro [mailto:buck.calabro@aptissoftware.com]
> Enviado el: martes, 13 de febrero de 2001 12:57
> Para: MIDRANGE-L@midrange.com
> Asunto: RE: Mcsec in Timestamp, is it possible
> 
> 
> Scott Klement posted an example a while ago.  You can find it in the
> archives:
> http://archive.midrange.com/rpg400-l/200101/msg00867.html
> 
> 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 11:51 AM
> > To: MIDRANGE-L@midrange.com
> > Subject:    Mcsec in Timestamp, is it possible
> > 
> > We have got some process runnig less than 1 msec (840 with 
> 24 CPU). Sound
> > greate, but I have to know how match time it takes to 
> finish the process.
> > As
> > I can see in journal, that system can manage microseconds, 
> therefore why
> > when I use 
> > 
> >  C                   TIME                    timestamp       
> > 
> > to obtain current time of the system, I allways have 000 as 
> microseconds. 
> > 
> > Do somebody have an experiece to obtain time with 
> microseconds including?
> > 
> > Thanks, 
> > 
> > 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.