Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5.

Sub program is passing 5 parameters back to main program

Will there be any compilation error? Or main program parameters displays junk values?



I have a COBOL main program which is calling sub program, the number of calling parameters used in m..

Answer / nehal jethava

When the main program passes fewer parameters than the sub program expects, the compiler will raise an error because the sub program cannot access the fifth parameter it is expecting. This is a mismatch in the interface and is not allowed in COBOL.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is a subscript ?

3 Answers  


How many maximum number of procedures can we write in one COBOL program?

6 Answers  


is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon

2 Answers   Patni,


How include time & date in the report generation in cobol programing?

2 Answers  


Can we use redefine clause in occurs clause?

10 Answers  


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,


How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?

6 Answers  


what is mainframe? what is the mainframe software ? what is use in s/w field?

7 Answers   CSE,


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 do you understand by psb and acb?

0 Answers  


why do u need inspect verb?

3 Answers   Patni,


where will we code call by content and call by reference dude pls reply soon ?

2 Answers  


Categories