Explain call by context by comparing it to other calls?

The parameters passed in a call by context are protected from modification by the called program. In a normal call they are able to be modified.

Showing Answers 1 - 7 of 7 Answers

Don Carey

  • Jul 14th, 2005
 

I think this Q&A should say "CONTENT" rather than "context".

  Was this answer useful?  Yes

pulikutty

  • Jul 17th, 2007
 

In call by content a copy of variable is passed to the sub program. In case of call by address the address is passed.

ge01395

  • Jan 27th, 2010
 

When during the Call the shared data is moved to the temporary work area, which is then passed to the subprogram, intead of the original data. As a result, when control is passed back to the calling program, the value of that field is not modified.
ex. CALL 'SUBPGM' USING BY CONTENT FA, FB, FC

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions