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


Please Help Members By Posting Answers For Below Questions

What is the default value(s) for an initialize and what keyword allows for an override of the default?

688


what is amode(24), amode(31), rmode(24) and rmode(any)?

688


what are decleratives in cobol?

1823


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1693


What are the different types of condition in cobol and write their forms.

651






IF I mention stop run in CICS what happens?

1886


what is difference between cobol and cobol/400

21550


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

2536


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1017


What type of SDLC u followed? Why?

1514


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

2096


What is an in line perform? When would you use it? Anything else you wish to say about it.

639


How do u write test cases?

1631


HOw can I get the negative sign while deduct high value from low value

1781