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 difference between isnull and coalesce?
What is explain in db2?
What is database reorganization?
Are views updateable?
What is a db2 package?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
What is alias in db2?
What is a buffer in memory?
How to retrieve rows from a db2 table in embedded sql?
What is a plan and package in db2?
run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...
What's The Error Code For Unique Index Voilation?
What is the clustering index in the db2 database?
On which levels locks can be applied?
What is release/acquire in bind?