linkage in COBOL
Wed, 09/14/2011 - 16:02
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"; ; ; ;
Thu, 09/29/2011 - 21:18#1
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.