Are there low quantities of inserts? For example, I insert a row that
says go print a PO. And they only print 50 PO's a day. When I print a PO
then some other stuff should occur and you do not want to modify the PO
print because it is vendor supplied. You could trigger on the PO,
actually perform the side work and modify the status flag. There's a
value on ADDPFTRG to ALWREPCHG(*YES). If you use this you can actually
modify that status flag yourself.
If they do not trust the server app to be running then they probably might
not trust the data queue concept to be running either.
Another option, if the row operation is an "insert" then fire off the
process. If the row operation is a change then do not fire off the
operation. Can't do that? Then check before/after images on the
'change'. If the only thing on the change (by checking the before/after
images) was the status column then do not fire off the ancillary process.
This mailing list archive is Copyright 1997-2019 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