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 the difference between goback, stop run and exit program in cobol?

1543


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1103


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

2089


How to print 10 to 1 if the input have only 10 digit number?

1228


Explain how you can characterize tables in cobol?

1023


What are the different types of condition in cobol and write their forms.

1080


What is the difference between structured cobol programming and object alternativelyiented cobol?

1209


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

2261


How do get the result of your program directly on your pc?

2304


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

1255


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

1136


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

1291


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

3195


What is inspect in cobol ?

1257


What is the compute verb? How is it used?

1095