What do you understand by passing by reference and passing by content?
Answer Posted / robertd903
Passing by reference, is passing the ADDRESS of a variable--to a subprogram. The subprogram is able to change the value contained in the variable.
Passing by content is passing the DATA contained within a variable--to a subprogram. The subprogram can NOT change the value of the data in the (calling program's) variable.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
For rewrite, why is it mandatory that file needs to be opened?
Write a program that uses move corresponding.
How to know whether the module is dynamical or statistical?
how do you reference the printer file formats from cobol programs
How you can characterize tables in cobol?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is amode(24)?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is a SSRANGE and NOSSRANGE?
Why did you choose to work with ibm mainframe cobol programming?
) how do u code after getting data?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What are declaratives and what are their uses in cobol?