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 an in line perform? When would you use it? Anything else you wish to say about it.

1053


Which mode is used to operate the sequential file?

1178


State the various causes of s0c1, s0c5 and s0c7.

1058


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1098


How do you define a variable of comp-1 and comp-2?

1186


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1276


how do you reference the esds vsam file formats from cobol programs

1190


What is the problem of ordered sequential files access?

1143


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1305


Have you used comp and comp-3 in your project? And how?

2459


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6544


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1485


Name some of the examples of COBOl 11?

3123


What is a report item?

1127


what is search and searchall?what is the diffrence between them?give an best example?

6774