|
We have an application written in perl running on a linux OS that
connects to DB2. There are SQL stored procedures that run some SQL
functions to do some updating. The perl app will do a series of
calls to do inserts using the procedures/functions inside a loop. It
will add all records except the last one. It is consistent that it
does not keep the last record. When stepping thru the perl app we can
see the last record in the database but then it disappears. As if the
final record is never committed and is rolled back but no rollback is
even done, in fact the final SQL command just after the loop is a
COMMIT. Is there anyone who has ever seen this issue? Is there some
way we can trace the sql being executed by the procedures/functions?
We can trace the SQL calls being done by the perl app when it crosses
the boundary between system but not sure how to see what's going on
inside the procedure and functions
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.