where can we use index and subscript ? with example ?

Answer Posted / lu

Subscript refers to the array occurrence while index is the
displacement (in no of
bytes) from the beginning of the array. An index can only
be modified using PERFORM, SEARCH & SET.
Need to have index for a table in order to use SEARCH,
SEARCH ALL.
This is cobol, not DB2....

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is buffer pool in the db2 database?

847


How many databases are there?

787


What is db2? Explain.

785


What are db2 tables?

861


What does db2 plan contain?

762


What is the role of union all and union

870


What is database reorganization?

837


What is reorg and runstats in db2?

948


Explain the function of data manager.

810


Describe major components of db2?

860


What is null indicator in db2?

843


How do I copy a table in db2?

759


Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?

2906


What are types of indexes?

781


what is diffrence b/w file-aid tool and file-aid utility???

4532