|
Dave Mahadevan wrote: > > Kahn, David wrote: > > > Francis Lapeyre (flapeyre@COMMUNIQUE.NET) wrote: > > > > >Kahn, David wrote: > > >> > > >> The TIME opcode requires a numeric result field. Crazy though it > > >> sounds > > >> you cannot TIME straight into a timestamp field. > > > > > >TIME to a timestamp field works, all right, but only if you have > > V3R7. > > > > Thanks for the information, Francis. We're still stuck on V3R2 for > the > > > > time being. It does seem as though a timestamp should be a natural > > target for TIME - saves all that messing around. Another > > incompatibility > > between V3R2 and V3R7. Don't tell Dave M . :-) > > > > I heard that. What bothers me is 60% of the machines are on > V3R1/V3R2 > and IBM does not care. Maybe they are taking a leaf from Microsoft. > > BTW, David G, I have a procedure which calls the ILE CEELOCT routine > to > return the time stamp. Since you cant get microseconds, I optionally > set the microseconds field to show elapsed time from the last call. > The > usage is EVAL TIMES = P_TIMESTMP. Let me know if you want me to > post > the code. > > -- > Thank You. > > Regards > > Dave Mahadevan.. mailto:mahadevan@fuse.net Thanks, David.. I wrote some programs in RPG IV to do all of our date stuff, and get us ready for Y3K. They have a date range of 1900-2899 (7 digit CYYMMDD date fields are the shop standard). We will probably expand our date fields on screen, where practical, to 4 digit years. The nice part about this approach is that all the work is done by 2 programs, and if the 1940-2039 "window" should change, I need only make the change there. For birth dates, and the like, it'll be 4 digit years, no matter what. I'm still interested in your routines, just to see how the rest of the world is doing it.. :) -- Francis Lapeyre flapeyre@communique.net ____________________________________________________________ | | |"The probability of life originating from accident is | |comparable to the probability of the Unabridged Dictionary | |resulting from an explosion in a printing factory." | | | | --Prof. Edwin Conklin | |____________________________________________________________| ****** Unsolicited commercial e-mail is not tolerated here. ******* ****** Senders of such mail do so at their own peril. ******* ****** A copy, complete with header, is forwaded to the ******* ****** originating ISP for action. ******* Opinions are my own. Otherwise, they are someone else's. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.