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
Where do you specify them?
What is the syntax for creating a table in the db2 database?
What os does db2 run on?
What happens in bind step in a db2 program?
Describe major components of db2?
How do I start db2 in windows?
What are the two types of logging in the db2 database? Explain them.
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
Define declaration generator (dclgen).
What is db2 bind process?
How do I add a column in db2?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
What is clone table?
What is the physical storage length of time data type?
What kind of database is db2?