Hi
I have built a stored procedure on DB2 9.7 and when i call it, somewhere it gets stuck and throws a deadlock error. I do not have any tool and building it straight from command line.
Is there any means to step by step execution when a stored procedure is called to identify which SQL is throwing the error. I have tried calling as below
db2 -v "CALL PS_DMF_JY(?)"
but it shows up only CALL PS_DMF_JY(?) and not what is running in the background.
Please help
I have built a stored procedure on DB2 9.7 and when i call it, somewhere it gets stuck and throws a deadlock error. I do not have any tool and building it straight from command line.
Is there any means to step by step execution when a stored procedure is called to identify which SQL is throwing the error. I have tried calling as below
db2 -v "CALL PS_DMF_JY(?)"
but it shows up only CALL PS_DMF_JY(?) and not what is running in the background.
Please help