View previous topic :: View next topic |
Author |
Message |
srikanth.bh Beginner
Joined: 23 Jul 2004 Posts: 8 Topics: 4
|
Posted: Wed Jul 28, 2004 4:19 am Post subject: Problem in executing a stored procedure |
|
|
Hi all,
We have created a stored procedure using dynamic SQL programming. also we are using changeman for compilation and binding. the pgm which calls stored procedure is getting executed. but the stored procedure is not being executed even after "EXEC SQL CALL PROC(<parms>) END-EXEC" being executed. the steps before and after the stored proc call, in the calling pgm are getting executed without any error message or abend.
to check whether there is any problem with bind or anything, jus before the stored procedure is called we executed a sample query and observed the SQLCODE. we were getting all wierd SQLCODES like "000000080N"
we tried executing the stored proc directly without a calling pgm. but that is also failing with another wierd sqlcode "000000099J". really not sure on where the problem might be. can anyone please suggest. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
|
|