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

why 02 level number can't be use as a separate level number like 01 or 77 ?

3 Answers  


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

0 Answers  


what is the difference between perform varying and perform until

4 Answers   TCS,


how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0

4 Answers   TCS,


what are the error codes in cobol, db2, cics, vsam , and jcl

2 Answers   TetraSoft,






If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value

3 Answers   CTS,


I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?

1 Answers   CTS, HCL,


I want to declare a field with data type Double in my COBOL program. how shall i do that ?

5 Answers  


Why did you choose to work with ibm mainframe cobol programming?

0 Answers  


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

0 Answers  


I want ALL ERROR codes in VSAM

3 Answers   American Express, TCS,


SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.

2 Answers   Wipro,


Categories