× 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 Mon, 17 Oct 2016 08:19:46 -0500, "Paul Nelson"
<nelsonp@xxxxxxxxxxxxx> wrote:

You'll expose yourself to level checks by deleting the LF's. Better to
remove the LF members first, then add them back after the reorg.

Perhaps even better is to just change the access path maintenance.

Note that I did *not* use this with RGZPFM, so I can't guarantee that
it will work as desired. Perhaps Chuck or someone can speak to that.

I used it when clearing and reloading files, and it decreased the run
time dramatically for files with a lot of records and a fair number of
logical files.

I retired back in July, so I no longer have access to my actual code.
A real retirement, not a move into consulting or contract work, so I
also don't have access to a system to try this.

Basically it involves the following steps:

1. Build a list of all of the associated logical files with their
access path maintenance information.

2. For any of those logical files whose access path maintenance is not
already *REBLD: CHGLF MAINT(*REBLD).

3. Run the desired processing. In this case, RGZPFM.

4. For any of those logical files whose access path maintenance was
changed, change it back to the original value: CHGLF MAINT(*IMMED) or
CHGLF MAINT(*DLY).

5. For any of those logical files whose access path maintenance is now
*IMMED, force the access path to be rebuilt with OPNDBF as described
by Chuck.

Ken
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.