What do you understand by passing by reference and passing by content?
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 |
Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?
What is the figurative constant in cobol?
I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?
Difference between array and sub-script ?
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
Can anyone please give the example of Inline Perform.
How to display string in the reverse order using occurs clause?
how to submit a jcl by cobol program. clear me with an example.
can we use go to statement inline-perform?
What the difference is between continue and next sentence?
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
can you declare redefine in level 01?