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
how to move the records from file to array table. give with code example
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What are 77 levels used for?
How can you get the ksds file records into your cobol program?
How are the next sentence and continue different from each other?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is link edit in cobol?
Name the divisions, which are available in a cobol program?
What is amode(31)
Why did you choose to work with ibm mainframe cobol programming?
What are the different rules of SORT operation?
What are different data types in cobol?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Can you please let me know the centre name of INS certification in Kolkata.