|
Gade,
Message subfiles are trivial - if you have more than four lines of
code to manage a message subfile, you are overcomplicating it.
As Buck already posted, check your program design to see why the
subfile is slow. As a rough rule of thumb, you should only read about
the same number of records as are in the subfile page. If the design
is such that the number of I/Os required exceeds the page size by
orders of magnitude, you get performance issues.
One final note - I don't know if this is still an issue, but it used
to be that on a remote terminal (5292?) you could greatly improve
performance by always writing the display top-to-bottom. In other
words, writing the message subfile, then the function key line, then
the subfile, caused slow screen redraws. Anyone know if this is still
the case (with telnet, say)?
____________
Paul Cunnane
Mattel Interactive
______________________________ Reply Separator _________________________________
Subject: Subfile Examples
Author: Gade_R_Reddy@consecofinance.com at InterNet
Date: 2000-01-31 4:30 pm
Hi Guys,
I feel like my subfile is running really really slow. Could somebody give
me a good example for subfile & message subfile programming in RPGIV where
subfile page = size??.
What are the modern ways of populating the subfiles in ILE RPG???.
Thanks.
Gade.
+---
| 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 mailing list archive is Copyright 1997-2025 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.