With in these three which one is the default one Call
Reference, Call By Value, Call By Content.-Which one is
default?

Answer Posted / shilpa

we can call the subprogram by refarence or content, but
call by refarence is default.
call by refarence: when we are passing the value from
mainprogram to subprogram if any changes in subprogram it
reflect also in main program but in call by content if any
changes in subprogram it wont reflect on mainprogram.

we can call the subprogram by dynamically or statically.in
this scenario the default is static call. in dynamic call
we call the program by value. in static call we call the
program by literal.
first we understand the main difference between static call
and dynamic call.
if any changes in subprogam in static call it will reflect
in msin program so we can recompile the mainprogram again
but not in dynamic. if we want to change any call program
just change the program name no neeed to change again and
again.dynamic call is faster compared to static call.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to print 10 to 1 if the input have only 10 digit number?

808


what is amode(24), amode(31), rmode(24) and rmode(any)?

690


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1920


Why would you use find and get rather than to obtain?

677


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

624






How do get the result of your program directly on your pc?

1875


Write down the divisions of cobol program?

665


Mention the guidelines to write a structured cobol program?

611


What is cobol?

739


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

816


Explain how to differentiate call by context by comparing it to other calls?

683


What is an in line perform? When would you use it? Anything else you wish to say about it.

641


What are the rules of the move verb?

699


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

928


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5673