linkage in COBOL

2 posts / 0 new
Last post
Anonymous
linkage in COBOL

 

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
"; ; ; ;
Offline
Joined: 07/07/2011 - 19:59
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.
Log in or register to post comments
Sponsored Listing