|
Hello Rob
Right you are,
I tested your demo RPG PGM and (after update) the Timestamp was updated
correctly
(i.e to the time the prgram was run and not the value in the program's
buffer).
However,
"With default User" did not work for me,
when inserting a record the change user field was not automatically updated
to the default USER
is there a "row change USER" functionality?
Thank
Gad
message: 2
date: Thu, 20 Jun 2013 08:44:15 -0400
from: rob@xxxxxxxxx
subject: Re: Row Change Timestamp
Let me repeat. I was initially wrong. The row change timestamp is NOT
destroyed by RPG's handling of the I/O. It works as designed. You could
READ a row, set the row change timestamp to some value in the past, and
UPDATE the row. It won't care what you set it to. It will be updated
with the current timestamp. This is as it should be. This is available
with 6.1. This is the difference between "row change timestamp" and "with
default current timestamp". The latter will be affected by RPG.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
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.