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
What is release/acquire in bind?
What is data manager?
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
What is the difference between drop table and delete table?
What is phantom read in db2?
What are the various data types available in db2?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What is image copy in db2?
How do you find the maximum value in a column in db2?
What is blu acceleration in db2?
How to restart a DB2 program?
Define predicate?
What os does db2 run on?
Explain the contents that are a part of dclgen.
Outputs of explain are with matchcols = 0. What does this signify?