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 |
How many maximum number of procedures can we write in one COBOL program?
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
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 is the difference between PIC 9.99 and 9v99 in COBOL?
0 Answers SwanSoft Technologies,
Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?
12 Answers T systems, Tech Mahindra,
wht r the advantages of 77 level number ?
I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?
Which division and paragraphs are mandatory for a COBOL program?
How to read records from flat file in reverse order through COBOL program?
14 Answers Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,
What is an in line perform? When would you use it? Anything else you wish to say about it.
If my file contains 100,000 records and job abended at 55,000th records processing then how can i restart job from that record onward by ignoring that record. I can not edit the file as file size is big and it is getting browse substituted?
What is the difference between subscript and index?