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
 

 

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 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
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm


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