|
Thank you all for the replies.during
The reason I ask is that I have a very hard bug / difference to find
some parallel regression testing.logical
The subtle difference was finally tracked down to the order that the
files were returning records.the rrn
The records in both physicals are in the same order (i.e. rrn) but the
logicals return the records differently. One library seems to honour
theory for records with the same partial key, but the other logicalseems to
be pretty random.in the
Unfortunately for me this is a details file and there is special extra
processing performed on the last detail record, hence the difference
regression.params,
Both files were compiled from the same dds using the same commands
they don't reuse deleted recordsdata,
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Crispin Bates
Sent: 05 November 2009 20:37
To: Midrange Systems Technical Discussion
Subject: Re: Logical file order of records
Neil,
It depends. What do you mean by identical data?
There was an interesting discussion on the System i network last week
regarding this.
http://forums.systeminetwork.com/isnetforums/showthread.php?t=77551
It is possible that two versions of the same physical, with the same
can return the data in different sequences. It really depends on whatyou
mean by identical data. The data may have been written in a differentwhat
sequence, one physical may have been RGZPFM'd. If REUSEDLT(*YES), then
sequence does the system decide to write to deleted records in?defining
Don't write applications that rely on data to be sequenced without
that sequence as keys. SQL will never guarantee the sequence exceptfor what
get
is in the ORDER BY. Use the same approach for DDS LF's and you won't
bitten. If you want to see records in the order they are created, theyou
need a Date/Time stamp to sequence them by...<midrange-l@xxxxxxxxxxxx>
Crispin.
----- Original Message -----
From: "Neill Harper" <neill.harper@xxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
Sent: Thursday, November 05, 2009 3:02 PMField3
Subject: Logical file order of records
If I have a unkeyed PF FILEA as follows:
Field1, Field2, Field3, Field4
I then have an LF LFA, with a non unique key of Field1,Field2,Field3
When there is more and one record with identical Field1,Field2 and
withcolumns, what controls the order of the remaining records.
Further to this, if I had 2 copies of FILEA in different libraries
showEXACTLY the same data in would you expect LFA in both libraries to
mailingthe
records in exactly the same order?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
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.
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.