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


  • Subject: Re: [Re: Expensive op codes]
  • From: Frank Kolmann <fkolmann@xxxxxxxxxxxx>
  • Date: 21 Oct 99 09:53:14 EST

"David Morris" <dmorris@plumcreek.com> wrote:
> Mark,
> 
> The big difference is caused by the setll that accompanies the READE.  
> You cannot block a file that has a setll against it.  
>
As I see it reading blocks (more than 1) record at a time is only useful if
the data has been physically sorted (not logically via an access path) into
the exact sequence the program needs.

In any case I understood (perhaps wrongly) that the disk I/O controllers
pulled whole cylinders of data into memory.  The cylinders could have multiple
records depending on the ratio of record length to cylinder size, or even data
from totally unrelated objects. It depends on how fragmented the file data is
actually on the disk ( maybe we need Norton Speed Disk).

I occasionaly use the old 'SORT, READ(input only),MATCH transactions, WRITE to
temp file(output only), COPY REPLACE to original file' technique because it is
still the fastest processing method I know for lots of data that changes a lot
(but only if Reading blocks of records and Writing Blocks is used). oh and
double buffering helps but I dont know how to invoke double duffers on the
AS400.




____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.