Skip to Content
Custom Search

linkage in COBOL

1 reply [Last post]
Anonymous

 

Here's an interview question:-
 
One use of linkage variable is to pass data between programs..
What is the other use?
 
Simple question is int it
"; ; ; ;
Sponsored Listing
Alan.R.Wynne
Offline
Joined: 07/07/2011
Posts:
usage if linkage
To pass pointers. You can use linkage to pass by value or by address. By address you pass the address of the data item to the other program and it then uses the data at the same address of the calling porgram. By value you pass the value and it gets assigned its own address in the called program. in this way the goback or exit program will not pass any changes back to the calling program.

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Who's online

There are currently 1 user and 39 guests online.

Online users

  • ncqrpdgbe
Dr. Radut | forum