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
Which division and paragraphs are mandatory for a COBOL program?
What is a report item?
Name some of the examples of COBOl 11?
Which mode is used to operate the sequential file?
Difference between array and sub-script ?
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
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How to know whether the module is dynamical or statistical?
explain sorting techniques in cobol program?
What is the difference between comp and comp-3 usage?
what is the use of outrecord?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Can a Search can be done on a table with or without Index?
Write a program that uses move corresponding.