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 do you mean by storage group (stogroup)?

575


What is rebind in db2?

570


What is the difference between bind and rebind in db2?

846


What is the physical storage length of time data type?

664


What is db2 bind?

636






What are union and union all?

535


What is the difference between db2 and oracle?

668


What does sqlcabc has?

625


What is the physical storage length of the data types: date, time, timestamp in the db2 database?

638


What do you mean by rollback?

568


What is cascading rollback?

615


What is the physical storage length of timestamp data type?

640


What is node in db2?

603


What is the syntax for creating a table in the db2 database?

623


What is plan in cobol db2?

582