× 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.



Question about a file with REUSEDLT *NO.  I figured this would be the best
REUSE setting for a file that receives large bulk inserts.  Essentially, we
end up deleting as much as 10% of the file and then INSERT a slew of updated
records as one batch.  I assumed this would place the records at the end of
the file - which would be easiest and quickest.  Howerver, when viewing the
QZDASOINIT job running the insert and selecting option 14 and then hitting
F11, there is a display for "Relative Record" - which I assume is the
current ordinal record position currently locked by the INSERT.

Well, the relative record number is jumping all over the place within the
file while I'm expecting to see an incrementally increasing relative record
number (previous maximum ordinal plus 1) since I'm expecting records to be
inserted at the end of the file.

Something else I was considering is maybe I am seeing the relative record
number of the unique index over the table - verifying the constraint before
each insert.  Maybe each insert is seeking on the unique constraint and I
just happen to see the ordinal position of the seek at the exact moment I
hit F11?

Anyway, can anyone add some color to the "relative record" display on the
Display Open File screen...as well as confirm that REUSEDLT *NO is the
fastest insert option.

Thanks

Ryan





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.