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 a scope terminator give example?
When would you use in-line perform?
if you give cylinder(1,1)how many cylinders it will be allocate?
) What is the use of IGNORE?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What are ISOLATION LEVELS? Where do we need to specify them?
What is "Call by content" and "call by reference"?
what is S04E error in jcl?
11 Answers IBM, L&T,
What is the difference between a binary search and a sequential search?
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
What is Control Break processing ?
) how do u code after getting data?