I'm running DB2 LUW v11.5.9 on SLES 12.5 (zLinux).
A new stored procedure BRL.LOONCIRCUIT_BTB_V2 has been created which is basically a copy of an existing SP BRL.LOONCIRCUIT_BTB, but with a change in one of the dynamic SQL statements.
When I execute the new SP in tool DbVisualizer ( version 24.1.5 - pro edition running on Windows 10 enterprise) , I get following return code :
[Code: -4470, SQL State: ] [jcc][t4][10120][10898][4.33.31] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null
Executing the old , existing stored procedure works fine. Executing both stored procedures in another tool (Toad for DB2) works fine as well.
I can provide DDL of the new SP if needed
resultSetHoldability=1;