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

-81 SQLCODE returned when Remote Stored procedure is called.


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to define transaction that trigge... CICS 2
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
No new posts File transfer to remote system using ... TSO/ISPF 2
No new posts How to remove remote file older than ... All Other Mainframe Topics 4
No new posts In JCL Procedure how we can execute R... CLIST & REXX 7
Search our Forums:

Back to Top