|
Dale,
Personally, I would advise against using a timestamp as a unique key field.
If either the program and/or the box is fast enough a timestamp can be
duplicated across consecutive records.
Regards,
Luis
Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--
On Wed, Jul 15, 2015 at 1:20 PM, Dale Janus <dalejanus@xxxxxxxxxxxxxxxxx>
wrote:
Everyone,file.
The logical file with the two fields omitted makes the most sense.
But I am trying to create a timestamp based on data in the original
In an incredible stroke of far-sightedness for something created over 20want
years ago, the original file had an 8 digit date and 6 digit time. I
to carry those over as a time stamp. ILE RGP is pretty handy to convertmy
digits into time and date, and then just add them together to create the
time stamp.
So I will create a logical with just the id omitted, let the program
create the time stamp and see how far I get.
Thanks for the suggestions. I'll report back what works.
---Dale
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.