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 Profile Log in to check your private messages Log in
 
What is Call by value and Call by reference

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: What is Call by value and Call by reference
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    Post subject: Re: Call by value , Call by reference
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts StreamWeaver language reference chetanambi Compuware & Other Tools 1 Wed Jul 05, 2017 12:50 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm

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