In a COBOL program, 2 tables TABLE1 and TABLE2 are defined
that are indexed by INDEX1 and INDEX2 respectively. Can we
use INDEX1 with TABLE2 and INDEX2 with TABLE1?



In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 re..

Answer / moideen

Because the index is defined to the corresponding table,
INDEX1 cannot work with TABLE2 and vice versa.

Is This Answer Correct ?    14 Yes 1 No

Post New Answer

More COBOL Interview Questions

I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

0 Answers   IBM,


what is jcl approach for programming?

4 Answers   IBM,


u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?

2 Answers   IBM,


if you give cylinder(1,1)how many cylinders it will be allocate?

3 Answers   Hewitt,


Whats the difference between search & search ALL?

3 Answers   IBM,






Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

0 Answers   iNautix,


What is the size of s9(19)comp3? explain

8 Answers  


how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?

4 Answers   TCS,


i want to learn mainframes. i completed MCA ,whats the future of mainframes

5 Answers  


Wat is the difference between NEXT and CONTINUE statement in cobol,can any one explain with example.

11 Answers   Deloitte,


how will u find out 3rd week's 2nd day using occurs ?

3 Answers   L&T,


file status 00 is checked after opening the file or reading the file

4 Answers   John Deere,


Categories