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



Another approach is to split the task into multiple jobs. Each would take a
certain range of records, compartmentalized by RRN or by key, whatever.
You'd use the same RPG but pass it some ranges. This works best with
arrival sequence, since each job then touches a different part of the file
- keyed might try to retrieve stuff already there. Rick Turner had some
articles on this stuff in NEWS/400 a few years ago.

At 05:33 PM 7/16/02 -0400, you wrote:
>Ray,
>
>Two thoughts come to mind:
>
>The first is to use the SETOBJACC command (response already posted from
>Vern).  If your subsystem has an appropriate amount of memory available,
>you can load all relevant database files into memory prior to the
>initiation of your program.  There is some time required to load the
>files, but it would probably less than your RPG program.
>
>The second would be to examine the use of blocking on your input.
>Examine the use of the OVRDBF command, particularly the SEQONLY and
>NBRRCDS parameters.  This will force the system to bring larger chunks
>of data into memory in a single pass, eliminating a number of physical
>disk accesses.  Check the warnings in the CL reference regarding
>sequential processing.
>
>Regards,
>Andy Nolen-Parkhouse



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.