What is the difference between CALL BY VALUE and CALL BY
CONTENT?
Answer Posted / sridevi
Call by value will not return the data back to the calling
program
Call by reference shares the common storage for the
variables used between the calling and called program and
the called program returns the data back to the calling
program through by reference
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why did you choose to work with ibm mainframe cobol programming?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
How do u write test cases?
What the difference is between continue and next sentence?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Difference between cobol and cobol-ii?
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?
What is a SSRANGE and NOSSRANGE?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Write a cobol program making use of the redefine clause.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
For rewrite, why is it mandatory that file needs to be opened?