What is "Call by content" and "call by reference"?

Answer Posted / siri

CALL BY CONTENT CALL BY VALUE
---------------- ------------------
*CALL 'SUB1' BY USING CONTENT *CALL 'SUB1' BY USING REFERE
WS-VAR1 NCE WS-VAR2
*ITS NEED TO BE CODE PASS AN *ITS NO NEED TO CODE PASS AD
ELEMENT BY VALUE. DRESS ON THE VARIABLE.
*THE SUBPROGRAMS MODIFICATIONS *THE SUB PROGRAM MODIFICATIO
ON THE PASSED ELEMENTS ARE NOT NS ON THE PASSED ELEMENTS
VISIBLE IN THE MAIN PROGRAM. ARE VISIBLE IN THE MAIN PRO
GRAM.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1783


Why did you choose to work with ibm mainframe cobol programming?

631


In which area will you utilize 88 level items in cobol?

722


how to move the records from file to array table. give with code example

2221


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

423






what are decleratives in cobol?

1827


What is amode(24)?

684


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

998


How do you get the data to code the BMS macro?

1476


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

897


What is length is cobol?

650


i need a small 3d program using inline and outline.

1640


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

825


What are the different data types in cobol?

797