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
Difference between cobol and cobol-ii?
how do you reference the printer file formats from cobol programs
Explain the configuration section of a cobol program with examples of syntax.
How arrays can be defined in COBOL?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
Explain how to differentiate call by context by comparing it to other calls?
What are the various section in data division and briefly explain them.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
In COBOL, what is the different between index and subscript?
) what is the difference between AID and HANDLE AID?
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?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the difference between goback, stop run and exit program in cobol?