where can we use index and subscript ? with example ?

Answer Posted / tej

In addition to the above,
subscript is like a working storage variable
abc pic 999.
Using index the search for the data is faster since it gives
the object location(displacement) directly.
Subscript can be modified by ADD,SUBTRACT etc
Index modification is UP BY,DOWN BY

and yeah this q should have been in cobol section ;)

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between alias and synonym in db2?

879


What is the meaning concurrency in the db2 database?

879


What is a buffer in memory?

825


What is host variable?

839


What is database alias db2?

897


How do I import data from excel to db2?

852


If I have a view which is a join of two or more tables, can this view be updateable?

925


Which command is used to connect to a database in DB2 ? Give the Syntax.

860


What is a plan and package in db2?

874


What does db2 mean?

794


Why select is not preferred in embedded sql programs?

969


What is runstats db2?

792


What are the uses of db2 optimizer?

1066


Define check constraint.

861


What is db2 plan table?

838