Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 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
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us