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 Array in Cobol Db2 Stored Procedure Ashishpanpaliya DB2 4 Wed Jan 09, 2019 3:06 pm
No new posts SQL Code 302 while executing stored ... Ashishpanpaliya DB2 8 Wed Aug 01, 2018 7:54 pm
No new posts sql code 331 while calling Stored Pro... Ashishpanpaliya DB2 5 Wed Aug 01, 2018 7:06 pm
No new posts Sqlcode =-253 pkmurali DB2 6 Sun Jul 22, 2018 3:13 pm
No new posts Add delay in External stored procedure smenjoge DB2 1 Thu Jul 19, 2018 1:21 am

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