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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about different table spaces.

636


How to remove 2 duplicate records and copy only one using job control language?

724


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1904


how to move the records from file to array table. give with code example

2207


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

760






what happens if parmparameter passes zero bytes to the program

1648


Difference between cobol and cobol-ii?

695


How are the next sentence and continue different from each other?

753


What are the different rules for performing sort operation?

749


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

632


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

647


What are the different data types in cobol?

776


) how do u code after getting data?

1575


How can you get the ksds file records into your cobol program?

634


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

794