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



> From: Robert Upshall
>
> The application does allot of things, basically I will load a JList from a
> customer DB2 file on the as400, then based on who was select do a
> key lookup
> with KeyedFile, maybe to 1 or more files depending on the situation.

I'm betting that the actual KeyedFile read doesn't take nearly as much time
as the open of the file.  Using RLA, you're going to find a lot of overhead
associated with opening a file.  If you start your application by opening
all your files, then you'll find your access is considerably faster.  RPG is
highly optimized to allow fast opening of files; these optimizations aren't
available for Java code.

As to reading a large block of data (many records) your overhead there will
be in communications and EBCDIC-ASCII conversion.  I think you'll find RLA
performance closer to that of a program call in that case.

Finally, I'd suggest getting the latest version of JTOpen.  Each release
tries to enhance performance a little bit.

Joe



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.