With in these three which one is the default one Call
Reference, Call By Value, Call By Content.-Which one is
default?
Answer Posted / asmara
Call By Reference is the default one.
1) Call By Reference passes the field to the called program
(sub-program). Any changes to the fields is done in the
calling program.Both will occupy same memory space.
2)Call By Content passes a copy of the fields to the called
program(sub-program). Any changes will not affect the
fields in the calling program(Main Program).
3)Call By Value refers to the address of the value (sent by
the calling program) & any change made here will be
reflected in the calling program. In these Both the Actual
and Dummy Parameters are occupy different memory space.
We will called as Formal Parameters in COBOL and where in
PL/I we called it as Dummy parameters.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
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...)
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How do u write test cases?
how to move the records from file to array table. give with code example
) what is the difference between AID and HANDLE AID?
What is amode(24)?
how do you define single dimensional array and multidimensional array in your cobol?
HOw can I get the negative sign while deduct high value from low value
How do get the result of your program directly on your pc?
Mention the guidelines to write a structured cobol program?
How to know whether the module is dynamical or statistical?
Have you used comp and comp-3 in your project? And how?
how do you reference the esds vsam file formats from cobol programs
What is the difference between Global and External Variables?