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

What is Call by value and Call by reference


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hai_anand

New User


Joined: 07 Sep 2006
Posts: 4

PostPosted: Mon Sep 11, 2006 9:28 am
Reply with quote

Can any one please expain what is call by value and call by reference in COBOL?
Back to top
View user's profile Send private message
vijay_bn11

New User


Joined: 11 Sep 2006
Posts: 3
Location: Bangalore

PostPosted: Mon Sep 11, 2006 9:54 am
Reply with quote

hai_anand wrote:
Can any one please expain what is call by value and
call by reference in COBOL?



Call By reference:-
the Changes made in the sub program is also available to main program, this is like direclty using the address of the variable



Call By Value means:-

the Changes made in the sub program is available only for that program
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 -> Mainframe Interview Questions

 


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