|
Hi Carsten, I was mainly trying to figure out where you'd get one of these and how it's different from a timestamp field in a physical file, which you've answered, thanks. While I was waiting for your reply, I did a google search at ibm.com and found lots of references to DTS in AIX manuals. Those define it as Distributed Time Service, so now I'm wondering if this is the format you would receive from an atomic clock time server, as well as other API's and MI instructions. I'm also wondering if the 8-bytes are the same format that a physical file's timestamp field is stored in. As I'm sure you know, although date fields appear as a 10-byte formated field, even with DSPPFM, they are actually stored as 4-byte Scaliger numbers. If that were true, would it be possible to use a pointer-based field to convert it? After a second or two of thought on that last question, probably not, since RPG appears to internally store date & timestamp fields as the long formatted version. Regards, Peter Dow Dow Software Services, Inc. 909 425-0194 voice 909 425-0196 fax ----- Original Message ----- From: "Carsten Flensburg" <flensburg@novasol.dk> To: <midrange-l@midrange.com> Sent: Saturday, September 15, 2001 12:01 PM Subject: Re: QWCCVTDT API and *DTS format > Hi Peter, > > *DTS is an unformatted 8 byte system timestamp. It's returned or used by > various APIs and MI functions - you can find an example of its usage if you > take a look at the Qsy_Rtn_Entry_Usage_Attr_T structure here: > http://as400bks.rochester.ibm.com/pubs/html/as400/v5r1/ic2924/info/apis/QSYF > IVLA.htm > > For MOVE to convert character or numeric values to a timestamp they have to > be in the correct external format (which *DTS isn't) - so here QWCCVTDT > comes in handy... > > Best regards, > Carsten Flensburg _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
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.