What is CALL statement in COBOL?

Answers were Sorted based on User's Feedback



What is CALL statement in COBOL?..

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

What is CALL statement in COBOL?..

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

What is CALL statement in COBOL?..

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

What is CALL statement in COBOL?..

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

Post New Answer

More COBOL Interview Questions

What is a scope terminator give example?

0 Answers  


When would you use in-line perform?

2 Answers  


if you give cylinder(1,1)how many cylinders it will be allocate?

3 Answers   Hewitt,


) What is the use of IGNORE?

1 Answers   IBM,


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?

0 Answers   HeadStrong,






What are ISOLATION LEVELS? Where do we need to specify them?

3 Answers   EXL,


What is "Call by content" and "call by reference"?

4 Answers   ADP, Syntel,


what is S04E error in jcl?

11 Answers   IBM, L&T,


What is the difference between a binary search and a sequential search?

10 Answers  


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

3 Answers  


What is Control Break processing ?

1 Answers   iGate,


) how do u code after getting data?

0 Answers   IBM,


Categories