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
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.
Why did you choose to work with ibm mainframe cobol programming?
In which area will you utilize 88 level items in cobol?
how to move the records from file to array table. give with code example
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
what are decleratives in cobol?
What is amode(24)?
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
How do you get the data to code the BMS macro?
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?
What is length is cobol?
i need a small 3d program using inline and outline.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What are the different data types in cobol?