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 Remote Unload of CLOB Columns DB2 6
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
No new posts Invoke stored procedure via batch JCL. DB2 2
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
No new posts SQLCODE = -122 while using the scalar... DB2 4
Search our Forums:

Back to Top