Hi Guy,
somehow this sounds to me like Db2 is still keeping some pointer in the logs during the full runtime of your SP. How do you create your log files and keep them open?
So if the database is busy during the runtime of the SP, it could fill the logs.
You could check this with a "db2 get snapshot for database on xxxx" and check for the oldest application holding the logs. This could be your SP.
If so, have a look at Adavance Log Management, which is a new feature in Db2 11.5, which is just helping you in such a situation.
Otherwise you might have to change the way you are logging your data to prevent it from keeping locks.
Kind regards
Roland
------------------------------
Roland Schock
Distinguished Engineer
ARS Computer und Consulting GmbH
Muenchen
------------------------------