|
Prevesh,neilpalmer400mr@xxxxxxxx 2008/05/07 10:31:12 AM >>>
Thanks, Rob, Joe and Peter for the replies,http://lists.midrange.com/mailman/listinfo/midrange-l
Our files are not journalled and sorry Joe but I
need to check an
existing file but will take the advice on the
timestamp field when
creating files from now on - thanks!
Prevesh Kuni
RPG Developer
Smollan Group SA (Pty) Ltd
(011) 640 8154
kunip@xxxxxxxxxxxxx
PM >>>joepluta@xxxxxxxxxxxxxxxxx 2008/05/06 03:52:46
Prevesh Kuni wrote:
Hi Guys,of a file was
Is there a way to determine when the last record
written?Prevesh, I don't know if this is an option for you,
but this is a
favorite technique of mine: I add a timestamp field
called "written" to
the physical file. Make sure it is NOT NULL capable.
Then create a
logical view over the file that does not include the
timestamp field.
If you write a record to the logical, it will
automatically initialize
the timestamp field to the date/time the record was
written.
Joe
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the
archives
at http://archive.midrange.com/midrange-l .
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the
archives
at http://archive.midrange.com/midrange-l .
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.