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

call by reference


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arunshan04

New User


Joined: 25 Apr 2009
Posts: 25
Location: chennai

PostPosted: Mon Nov 23, 2009 11:56 pm
Reply with quote

can any one explain me.

i calling one stored procedure it is giving 8 as a return code
but in main program i am receiving zero(return code value is zero) after the success full call.

i included stored procedure parameter copy book in my main program for the stored procedure and also
i using the same copy book in linkage section in stored procedure.

but the value for the return code variable getting erased after the control return back to the main program.

can any one help me.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Nov 24, 2009 12:11 am
Reply with quote

DB2 9 for z/OS Stored Procedures: Thru the CALL and beyond

DB2 for z/OS Stored Procedures: Thru the CALL and beyond
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 Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top