× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 01 Feb 2013 12:04, Stone, Joel wrote:
I am looking for changes to - say - customer records.

Is it reliable to look at the oldest and newest pair of journal
records for a given file/RRN combination?

For example, a customer's favorite color changed today several
times - from GREEN to red to blue to ORANGE.

Is it reliable to only look at the GREEN (oldest journal record)
and the ORANGE (newest journal record) to find what the current
favorite color is?

Or can the rollbacks get me into trouble with this logic?

Rollback is not a concern; just be sure to look at the after-image.

I think I am OK - if ORANGE changed to yellow with a rollback, I
think that the last journal record would still show ORANGE still,
so I should be OK.

Hmmm.. yellow was never set according to the example; green, red, blue.? But anyhow, if the after-image of the rollback as the last entry was showing yellow, and the last activity was that rollback, then the value was set back to yellow; so yellow, not orange, will be shown in the last R-UR.

Anything I am overlooking?


Seems the uncommitted changes is what are being overlooked. Those should not be looked at to conclude what is the current value, because those changes have neither been committed nor rolled back. The C-CM or C-RB that follows the changes under the "Commit cycle ID" from the prior C-SC must occur before those R-xx entries are confirmed.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.