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 |
what is MSGLEVEL?
Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
what is the use of keep and pass in disp
When would you use in-line perform?
which one is better among static call and dynamic call?
which is better comp or comp-3 in terms of memory utilization?
what is the diff b/w select stsmt and cursor ?
consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
Name some of the examples of COBOl 11?
How do you set a return code to the JCL from a COBOL program?
How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.