IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Stored Procedure Call


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chinnaraj

New User


Joined: 01 Nov 2007
Posts: 17
Location: Chennai

PostPosted: Fri Sep 12, 2008 5:10 pm
Reply with quote

Hi

i got the following erroe when i tried to call a stored procedure.

SQLCODE: 000000471
SQLERRMC: AAAAAAA.BBBBBBBBBBBBBB:00E79001

i googled out the error and found the cause as 'Stored procedure was stopped' and the resolution provided is 'Start the stored procedure using DB2 Start Procedure command.'.

pls help to me how to go about this.

Regards,
chinna.
Back to top
View user's profile Send private message
muthukannan

New User


Joined: 03 Aug 2006
Posts: 42
Location: Chennai

PostPosted: Fri Sep 12, 2008 6:15 pm
Reply with quote

Find the Abend assist screen shot in the attachment.
That might help you.
Back to top
View user's profile Send private message
rpuhlman

New User


Joined: 11 Jun 2007
Posts: 80
Location: Columbus, Ohio

PostPosted: Fri Sep 12, 2008 8:27 pm
Reply with quote

Chinna,

How were you trying to invoke the stored procedure? COBOL? QMF?

Rick
Back to top
View user's profile Send private message
chinnaraj

New User


Joined: 01 Nov 2007
Posts: 17
Location: Chennai

PostPosted: Mon Sep 15, 2008 11:23 am
Reply with quote

Hi Rick,

i am calling the SP thru COBOL program with the required parameters.

Thanks,
Chinna.
Back to top
View user's profile Send private message
paritosh mathur

New User


Joined: 10 Apr 2006
Posts: 14

PostPosted: Mon Sep 15, 2008 12:48 pm
Reply with quote

my team also encountered this problem.
please revisit your stored procedure code and check if you are passing some thing wrong in sql queries, cursors.
like date, time which is not in db2 format. same with numeric items.
Back to top
View user's profile Send private message
Suresh Ponnusamy

Active User


Joined: 22 Feb 2008
Posts: 107
Location: New York

PostPosted: Mon Sep 15, 2008 8:04 pm
Reply with quote

Hi

If the Stored Procedure is stopped, Please restart the Stored Procedure.. If you do not have access, you can contact your DBA.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts Invoke stored procedure via batch JCL. DB2 2
Search our Forums:

Back to Top