Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Vew queries run from inside stored procedure

$
0
0
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

Viewing all articles
Browse latest Browse all 13329

Trending Articles