this is one of those tasks that just screams "USE SQL!!!!"
other than that....another thing that can & will slow you down is join 
LFs....
Thanks,
Tommy Holden
fu_james@xxxxxxxxxxxxxx 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
07/27/2007 02:39 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc
Subject
Re: What makes such a big difference?
No and there are Not many deleted records in these files...
Best Regards.
James Fu
TDL Group Corp. (Tim Hortons)
Oakville, Ontario
Direct: 905-339-5798
fu_james@xxxxxxxxxxxxxx
Web: 
http://www.timhortons.com
 
             rob@xxxxxxxxx 
             Sent by: 
             midrange-l-bounce                                          To 
             s@xxxxxxxxxxxx            Midrange Systems Technical 
                                       Discussion 
                                       <midrange-l@xxxxxxxxxxxx> 
             07/27/2007 03:30                                           cc 
             PM 
                                                                   Subject 
                                       Re: What makes such a big 
             Please respond to         difference? 
             Midrange Systems 
                 Technical 
                Discussion 
             <midrange-l@midra 
                 nge.com> 
 
 
any number of things.  Like, has anyone done a
RGZPFM FILE(MYLIB/MYPF) MBR(MYMBR) KEYFILE(MYLF MYMBR)
to sort it in any particular order?  That can help blocking.
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
fu_james@xxxxxxxxxxxxxx
Sent by: midrange-l-bounces@xxxxxxxxxxxx
07/27/2007 03:16 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc
Fax to
Subject
What makes such a big difference?
We are updating a field (company code) in some very large physical files.
These PFs are created by DDS, without journaling.
We use the similar RPG program (very simple, just read and update) on them
and the system environment is exactly the same.
One batch job for each PF. Some jobs can update more than 5 millions
record
per hour, some can do 1 millions
per hour, while some can only do 100 thousands per hour.  At first, I
think
the reason might be the number of dependent logical files.
But then I found a PF with 36 dependent LFs is 10 times faster than a PF
with 30 dependent LFs.  Any clues for me?
Thanks...
Best Regards.
James Fu
TDL Group Corp. (Tim Hortons)
Oakville, Ontario
Direct: 905-339-5798
fu_james@xxxxxxxxxxxxxx
Web: 
http://www.timhortons.com
The information contained in this message is confidential and may be
legally privileged. The message is intended solely for the addressee(s).
If you are not the intended recipient, you are hereby notified that any
use, dissemination, or reproduction is strictly prohibited and may be
unlawful. If you are not the intended recipient, please contact the sender
by return e-mail and destroy all copies of the original message.
L'information contenue dans ce  message est de nature confidentielle et
peut etre de nature privilegiee. Ce  message est strictement reserve a
l'usage de son ou ses destinataires. Si vous  n'etes pas le destinataire
prevu, prenez avis, par la presente, que tout usage,  distribution, ou
copie de ce message est strictement interdit et peut etre  illicite. Si
vous n'etes pas le destinataire prevu, veuillez en aviser  l'expediteur
par courriel et detruire tous les exemplaires du message original.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: 
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at 
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: 
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at 
http://archive.midrange.com/midrange-l.
The information contained in this message is confidential and may be 
legally privileged. The message is intended solely for the addressee(s). 
If you are not the intended recipient, you are hereby notified that any 
use, dissemination, or reproduction is strictly prohibited and may be 
unlawful. If you are not the intended recipient, please contact the sender 
by return e-mail and destroy all copies of the original message.
L'information contenue dans ce  message est de nature confidentielle et 
peut etre de nature privilegiee. Ce  message est strictement reserve a 
l'usage de son ou ses destinataires. Si vous  n'etes pas le destinataire 
prevu, prenez avis, par la presente, que tout usage,  distribution, ou 
copie de ce message est strictement interdit et peut etre  illicite. Si 
vous n'etes pas le destinataire prevu, veuillez en aviser  l'expediteur 
par courriel et detruire tous les exemplaires du message original.
As an Amazon Associate we earn from qualifying purchases.