What is the difference between CALL BY VALUE and CALL BY
CONTENT?

Answers were Sorted based on User's Feedback



What is the difference between CALL BY VALUE and CALL BY CONTENT?..

Answer / prakash

both are same, this should be a difference between call by
reference and by value/content.
Here we send the address of he data in first case and the
value/content in second case.

Is This Answer Correct ?    17 Yes 7 No

What is the difference between CALL BY VALUE and CALL BY CONTENT?..

Answer / sridevi

Call by value will not return the data back to the calling
program
Call by reference shares the common storage for the
variables used between the calling and called program and
the called program returns the data back to the calling
program through by reference

Is This Answer Correct ?    4 Yes 0 No

What is the difference between CALL BY VALUE and CALL BY CONTENT?..

Answer / michael

call by reference:
pass pointer to data
call by content:
copy data into temporary, pass pointer to temporary
call by value:
pass data
if the called program is a cobol program the
address of the receiving linkage data item is set to the
passed data value

Is This Answer Correct ?    5 Yes 2 No

What is the difference between CALL BY VALUE and CALL BY CONTENT?..

Answer / suputhru

CALL BY VALUE = CALL BY CONTENT both are same.
Here we send the value/content.

CALL BY REFERENCE: we will send the address of he data.

Is This Answer Correct ?    2 Yes 3 No

What is the difference between CALL BY VALUE and CALL BY CONTENT?..

Answer / kapil arya

Call By Value, its point to data directly that is why its
faster than the call by reference.
But in Call by Referenc, it points the address of data so
it takes more time in camparison of Call by value.

Is This Answer Correct ?    2 Yes 4 No

What is the difference between CALL BY VALUE and CALL BY CONTENT?..

Answer / shashikumar.d

if we can do any modification in forml arguments that
change can't effected actual arguments. this is known as
call by value.
if we can do any modification in forml arguments that
change can effected to actual arguments. this is known as
call by content.

Is This Answer Correct ?    15 Yes 18 No

What is the difference between CALL BY VALUE and CALL BY CONTENT?..

Answer / guest

both are same

Is This Answer Correct ?    11 Yes 25 No

Post New Answer

More COBOL Interview Questions

How to remove 2 duplicate records and copy only one using job control language?

0 Answers  


I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.

1 Answers  


Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  


01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.

15 Answers   ACS,


Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.

4 Answers  






where will we code call by content and call by reference dude pls reply soon ?

2 Answers  


Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?

14 Answers   Accenture, TCS,


File status must be checked both while opening and reading the file or only while reading the file?

2 Answers  


How many maximum number of procedures can we write in one COBOL program?

5 Answers  


How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.

5 Answers   TCS,


Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?

7 Answers  


How do u write test cases?

0 Answers   IBM,


Categories