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



The *RPLDLTRCD keyword designates a method available to recover space from deleted records [RRNs that remain in the dataspace of a member of a database physical file] without taking the file fully offline [as was required with the older RGZPFM invocations]. The new feature of the reorganize request, in the earliest manifestation, a file that is in use need not be released for much more than a few or less seconds. IIRC for the IBM i OS 6.1 the data segments that contain only deleted records can be truncated even when the file is in use. As such deleted records are not actually removed until the dataspace is truncated to remove those deleted rows that were since [effectively] moved to the end, from having used the request to RGZPFM KEYFILE(*RPLDLTRCD). Until the actual truncate activity, the reorganize request just relocates the deleted rows [within the dataspace].

Regards, Chuck

Jim Franz wrote:
Booth Martin wrote:

There is a REORGANIZE command that can be run to put records in
key sequence. Otherwise, it is arrival sequence.

The reorg cmd is RGZPFM.
It always removes deleted records.
Option to reorder records by the PF key (*FILE) or
by the key of a logical.
The *RPLDLTRCD actually says it will move recs from end of
file to replace deleted records (why?).

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.