What is "Call by content" and "call by reference"?
Answer Posted / sruthi
Call by reference means address of var is passed to sub pgm.
The modifications on the passed vars in sub pgm will be
effected in main pgm.
call by content means value of the var is passed to sub pgm.
The modifications on the passed vars in sub pgm will not be
effected in main pgm. that is local to sub pgm.
| Is This Answer Correct ? | 47 Yes | 2 No |
Post New Answer View All Answers
Which division and paragraphs are mandatory for a COBOL program?
What are various search techniques in cobol? Explain.
What is a SSRANGE and NOSSRANGE?
What are the different types of condition in cobol and write their forms.
What is the difference between comp and comp-3 usage?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Why would you use find and get rather than to obtain?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is redefines clause in COBOL?
how to refer the data field?
How do define dynamic array in cobol.
What are the different rules of SORT operation?
Give some examples of command terminators?