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
What is db2?
How do I create a view in db2?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
What is the difference between db2 and oracle?
What is the physical storage length of date data type?
Can one database have multiple instances?
When the like statement is used?
What is the physical storage length of the data types date, time, and timestamp?
What is the difference between oracle and db2?
Differentiate between cs and rr isolation levels? Where do you specify them?
B37 abend during spufi?
What is with ur in db2?
How to compare data between two tables in db2?
What is null in db2?
What parameters are used to control the free space in DB2?