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
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between Global and External Variables?
What rules are to be followed while using the corresponding options?
explain sorting techniques in cobol program?
Name the sections present in data division.
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
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.
Discuss about changing dataset name in proc.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Write down the divisions of cobol program?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
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.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Define static linking and dynamic linking.