Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
-81 SQLCODE returned when Remote Stored procedure is called.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
kameswaramanoj.Akella

New User


Joined: 28 Mar 2013
Posts: 7
Location: india

PostPosted: Wed Dec 03, 2014 5:36 am    Post subject: -81 SQLCODE returned when Remote Stored procedure is called.
Reply with quote

Hi,

I have coded a DB2 stored procedure which will access a few tables and also calls an other Stored Procedure. I have also done a comlpete testing for this module and it is working as expected in my environment.

Now, the Stored procedure can also be called from other Mainframe environments. One such Batch program calling the stored procedure for each record in it's input file recieved an SQLCODE of -81 when calling this remote Stored procedure.

I am also sure that the CDB entries in the 'Calling' environment are correct.
I have searched for -81 sqlcode in forum and manuals and could not find anything.
please let me know if anyone of you received this sqlcode and how to debug/rectify this error.
Please let me know if you need any information that might be helpful to understand the issue.
Back to top
View user's profile Send private message

kameswaramanoj.Akella

New User


Joined: 28 Mar 2013
Posts: 7
Location: india

PostPosted: Fri Dec 05, 2014 11:44 pm    Post subject:
Reply with quote

I have been getting the above error for a few long running jobs. Once i restart the jobs, they are running fine.
It will be helpful if anyone of you could shed light on this issue...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm
No new posts Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us