What is CALL statement in COBOL?
Answers were Sorted based on User's Feedback
Answer / santosh khot
Call Statement in cobol calls sub program from main program
by Content or by reference but default is by reference
syntex is
CALL program-name by Content/Reference by Var-1, Var-2.
| Is This Answer Correct ? | 31 Yes | 3 No |
Answer / jack
Call Statement in cobol calls sub program from main program
by Content or by reference but default is by reference
eg.
CALL "sub-prog".
CALL "sub-prg" using var-1, var-2.
CALL program-name using var-1, var-2.
| Is This Answer Correct ? | 19 Yes | 3 No |
Answer / jey
IN COBOL, Call Statement calls sub program from main program
by Content or by reference.
syntax is :
CALL subroutine name
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / siri
CALL:-CALL statement is used to execute the SUB program from the MAIN program.....
EX:-CALL 'SUB1' USING BY REFERENCE WS-VAR1
BY CONTENT WS-VAR1
BY REFERENCE IS DEAFAULT ITS NO NEED TO CODE...BY CONTENT IS NEED TO CODE IT IS PASS THE LENGTH OF THE DATA ITEM TO THE CALLED PROGRAM....
| Is This Answer Correct ? | 1 Yes | 0 No |
s9(18) comp-3:: What is the size of memory it takes internally?
What are different file OPEN modes available in COBOL?
In the JCL, how do you define the files referred to in a subroutine ?
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
What are the differences bitween cobol and cobol-2?
What is the difference between COMP & COMP-3 ?
How may divisions are there in JCL-COBOL?
What is the difference between comp and comp-3?
consider the following two statements MOVE 10 TO N PERFORM PARA-X N TIMES STOP RUN PARA-X MOVE 5 TO N how many times PARA-X willbe exicuted? a.10 b.5 c.infinate d.execution error
If we use GO BACK instead of STOP RUN in cobol?
Have you used comp and comp-3 in your project? And how?
i want to learn mainframes. i completed MCA ,whats the future of mainframes