What is an index for tables?

Answers were Sorted based on User's Feedback



What is an index for tables?..

Answer / shubha

index denotes the displacement value and it is system
defined.if you are using index variable with occurs
clause,it need not have be defined in the data division.but
it should be mentioned as i.e syntax is:
levelno(02 to 49) identifier occurs n times indexed by
indxname

Is This Answer Correct ?    3 Yes 0 No

What is an index for tables?..

Answer / guest

index is sama as primary key....



ex:if u open your book, if u can find the index inf rist
tow pages. table index is also same as this....

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

I had 100 records and i want to execute last three records by using cobol programming?what will be coding?

4 Answers   IBM,


I have a seq file with different fields one field is address with pic x(50) as input in a cobol program. In address there is 'PUNE' at any different positions in the address field ( form 1 t0 50) . My requirement is select the fields with address 'PUNE' by using cobol. Please suggest

2 Answers   IBM,


in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......

2 Answers   IBM,


why we are using set in searchall?

4 Answers   IBM,


How do you code Cobol to access a parameter that has been defined in JCL?

3 Answers  






How can we increase the size of an existing PDS to include more no. of modules. I tried the answer posted by Jagan(TSO PDS 'pds name') but did not find it working. The answer posted by kamal i know very well. Please suggest me a answer so that we don't need to delete the existing PDS and still we can change the size as well.

10 Answers  


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

0 Answers  


can we use 77 level no for Redefines?if we use give an example?

3 Answers   Mphasis,


What are ISOLATION LEVELS? Where do we need to specify them?

3 Answers   EXL,


what is the difference between Plan & package

3 Answers   IBM,


What compiler option would you use for dynamic linking?

2 Answers  


How to covert given string into ASCII value in COBOL/MF COBOL

3 Answers   CTS, IBM, iFlex,


Categories