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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How are the next sentence and continue different from each other?

1295


how to refer the data field?

2277


What the difference is between continue and next sentence?

1166


how to convert the recors form vsam file to db2 table tru file aid

3262


Whats the difference between search & search ALL?

6531


how do you reference the fixed unblock file formats from cobol programs

1234


What are the access modes of START statement?

1273


Write the code implementing the perform … varying.

1064


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2132


What is the difference between goback, stop run and exit program in cobol?

1590


Define cobol?

1403


In COBOL, what is the different between index and subscript?

1245


Name some of the examples of COBOl 11?

3143


Which is not true about evaluate statement

2457


Mention the guidelines to write a structured cobol program?

1095