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
How do you get the data to code the BMS macro?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Write a program that uses move corresponding.
How are the next sentence and continue different from each other?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How many sections are there in data division in COBOL?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What are declaratives and what are their uses in cobol?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Define cobol?
what happens if parmparameter passes zero bytes to the program
Write down the divisions of cobol program?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.