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
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Write down the divisions of cobol program?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the difference between comp and comp-3 usage?
how do you reference the fixed unblock file formats from cobol programs
what happens if parmparameter passes zero bytes to the program
) How do u handle errors in BMS macro?
IF I mention stop run in CICS what happens?
What are the different data types in cobol?
What is difference between static and dynamic call in cobol?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
how do you reference the variable block file formats from cobol programs
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 would you use find and get rather than to obtain?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?