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 do u handle errors in BMS macro?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the difference between PIC 9.99 and 9v99 in COBOL?
how do you reference the esds vsam file formats from cobol programs
What is the difference between Call and a Link?
What do you understand by psb and acb?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
what happens if parmparameter passes zero bytes to the program
What type of SDLC u followed? Why?
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 external and global variables in COBOL?
What rules are followed by the search verb.