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

what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9110


Can a Search can be done on a table with or without Index?

1292


What the difference is between continue and next sentence?

1178


) How do u handle errors in BMS macro

2057


how do you reference the variable block file formats from cobol programs

1264


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

1156


Write a cobol program making use of the redefine clause.

1188


What is the difference between PIC 9.99 and PIC9v99?

1347


Write a program to explain size error.

1204


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3234


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2477


How do you get the data to code the BMS macro?

1981


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1441


Explain how to differentiate call by context by comparing it to other calls?

1191


In which area will you utilize 88 level items in cobol?

1165