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

How is sign stored in a comp-3 field?

7 Answers  


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.

11 Answers   FirstApex, NIIT,


How can you declare the file ?

1 Answers   Wipro,


How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.

5 Answers  


What is the difference between PIC 9.99 and 9v99?

7 Answers  






How do u write test cases?

0 Answers   IBM,


How to define a array dynamically.....

5 Answers   Fidelity,


how to convert vsam table into DB2 table?

1 Answers   IBM, Wipro,


why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.

2 Answers   TCS,


how we can edit records in vsam data set and non vsam data sets

2 Answers   ACS,


which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast

1 Answers  


can we use 77 level no for Redefines?if we use give an example?

3 Answers   Mphasis,


Categories