|
Let's not assume that IBM can write their command programs any fasterthan
your average RPG programmer. Using Scott's IFS tutorial has shown methat
we can often blow the socks off of IBM. His IFS stuff is much fasterthan
CPYTOIMPF or CPYFRMIMPF. Then again, if you ran either of thosecommands
underneath debug you would see some intense SQL going on.
Then again, there's not just speed, but granularity to consider. What
happens, if on record 2,125,432 if there's a constraint violation orsome
such thing? With RPG your write fails, you write it to an exceptionyou're
report instead, and maybe a file to be reposted. (Well, as long as
not like some clowns who assume that any write violation means thatthe
record exists and you try an UPDATE instead.)order,
Another thing to consider, if the source files can be read in key
you may not get the blocking on the output to the summary file, butthe
summary file will then be in key order. Well, if you really want toeither by
ensure output in key order, perhaps some matching records logic,
cycle or by hand. That might help the speed of using the summary file
afterwards. Then again, that could easily be fixed by RGZPFMkeyfile(...)
to sort the file afterwards. But if it is one of those 24x7 files...
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
As an Amazon Associate we earn from qualifying purchases.
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.