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 replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.

6 Answers   Accenture,


what is the difference between Normal vaiable and comp variable.

5 Answers   DELL,


how many bytes does s9(7)COMP-3 field occupies?

6 Answers   ADP,


what is label record is standard or omitted in file description of data division?

3 Answers   IBM, TCS,


What is the maximum data length for Numeric DataType ?

3 Answers   Cap Gemini,






01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?

5 Answers   Amdocs,


what is mainframe? what is the mainframe software ? what is use in s/w field?

7 Answers   CSE,


how do you reference the rrds file formats from cobol programs

0 Answers  


How you can delete a record from a ps file in cobol?

1 Answers  


I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?

1 Answers   Mphasis,


01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?

6 Answers   L&T,


how can i see junk values in dclgen or in hostvariable of comp ?

0 Answers   DELL,


Categories