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?

No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More COBOL Interview Questions

I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..

2 Answers   EDS,

Hi Devolopers.. i need ur help.. i have 3 years of exp in Manual testing and SQL, next month onwards i shifted in to MAINFRAME TESTING... i have ZERO Knowledge abt mainframes.... PLS SUGGEST ME WHAT I LEARN in AMEERPET? mainframe testing or mainframe total devolopment subject... AS a devoloper u know every thing tester what to do PLSSSSSSSSS help me ITS VERY URGENT...

1 Answers  

we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?

1 Answers  

what is the difference between COBOL2 AND COBOL390?

0 Answers   L&T,

how many bytes does s9(7)COMP-3 field occupies?

6 Answers   ADP,

What is XDC ?

3 Answers   IBM, Cap Gemini,

What is Redefines clause?

8 Answers  

can we use 77 level no for Redefines?if we use give an example?

3 Answers   Mphasis,

If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?

8 Answers   CTS,

What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.

3 Answers   IBM, Xansa,

How to read a record from bottom of a file which is indexed by 'A'.

4 Answers   Oracle,

How may divisions are there in JCL-COBOL?

5 Answers   IBM,