where can we use index and subscript ? with example ?
Answer Posted / lu
Subscript refers to the array occurrence while index is the
displacement (in no of
bytes) from the beginning of the array. An index can only
be modified using PERFORM, SEARCH & SET.
Need to have index for a table in order to use SEARCH,
SEARCH ALL.
This is cobol, not DB2....
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Where can you declare a cursor in a cobol-db2 program?
What is a page in db2?
How can the duplicate values be eliminated from db2 select?
What is difference between isnull and coalesce?
How to find the number of rows in db2 tables?
i want to maintain uniqueness on pdf without make lf??????????
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
How to resolve deadlock issue
How to retrieve rows from a db2 table in embedded sql?
What are union and union all?
What is temporal table in db2?
in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?
How do I copy a table in db2?
If I have a view which is a join of two or more tables, can this view be updateable?
What are the bind parameters ibm db2?