What is "Call by content" and "call by reference"?
Answer Posted / shiva
call by reference passes address of variable to the subprogram
and any changes to this variable will affect the main program
this is bcoz they have allocated the same memory..
whereas in call by content the value of the variable is
passed to the subprogram and any changes to that variable
does not affect the main pprogram..this is bcoz they have
allocated seperate memories.......
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
) How do u handle errors in BMS macro?
how do you reference the ksds vsam file formats from cobol programs
Which mode is used to operate the sequential file?
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 can I get the negative sign while deduct high value from low value
How do you get the data to code the BMS macro?
In COBOL, what is the different between index and subscript?
What are different data types in cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How do define dynamic array in cobol.
What is static and dynamic call in cobol?
What is the difference between external and global variables in COBOL?
What is the difference between comp and comp-3?
What is a SSRANGE and NOSSRANGE?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?