|
On Fri, Sep 19, 2008 at 1:54 PM, Crispin Bates <cbates@xxxxxxxxxxx> wrote:
Charles,
It's part of 2E 8.1.
Oh, well we're still on 8.0 I believe....
I'm not sure why the lack of a 2E runtime would preclude using a solution
that is already available to you (assuming you have at least a relatively
current release of the product). You're going to have to install
something.
I dugress...
I don't know how 2E is licensed, but I suppose there might be no limit
to how many machines you can install the runtime on.
But it doesn't sound like you want to implement a trigger handler, but
rather something that will read all records for any file and call the
trigger for each of those records.
Correct.
Did someone forget to add the triggers to the production data :-)
No. The triggers are part of a process that keeps an Oracle DB sync'd
with the iSeries; or rather it's supposed to keep it in sync. For
various reasons, sometimes it gets out of sync, thus we need to reload
all the records in the oracle DB. The current process (which I've
inherited ;-) was designed around a rebuild program specific to each
table that contained the SQL update statement I mentioned before.
Originally, it was dog slow. I'm made some improvements, now it runs
in 1/3 to 1/2 the time as before. But still not speedy. My thinking
is that if I can get rid of the "dummy" update being done and simply
invoke the trigger, I'd be much better off.
I'd like to do it generically, that way I have only one new program to
write, plus that way if we add tables in the future, I don't have to
write a table specific rebuild program.
Charles
--
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.