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 the difference between spufi and qmf?
What is a system catalog table in db2?
How can you quickly find out the # of rows updated after an update statement?
What is buffer pool in the db2 database?
What os does db2 run on?
What is the syntax for creating a table in the db2 database?
Is db2 a mainframe?
How do I import a csv file into db2?
What are the uses of db2 optimizer?
what is db2 restart?
How can we retrieve the total number of records in RPG & CLLE?
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
What is package in cobol db2?
Is db2 relational database?
Which command is used to connect to a database in DB2 ? Give the Syntax.