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
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Write a program that uses move corresponding.
What is the difference between goback, stop run and exit program in cobol?
What is report-item in COBOL?
What is difference between static and dynamic call in cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is static and dynamic call in cobol?
what is the use of outrecord?
IF I mention stop run in CICS what happens?
Mention the guidelines to write a structured cobol program?
How many bytes S(8) comp field occupy and its maximum value?
Can we redefine the field of x(200) to less than 200?
What are the various section in data division and briefly explain them.
how do you reference the esds vsam file formats from cobol programs
What do you understand by psb and acb?