What is an index for tables?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to enter and display the names of students in a class using the occurs clause.

661


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1964


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

942


What are literals?

638


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2733






What are declaratives and what are their uses in cobol?

716


What is the difference between PIC 9.99 and 9v99 in COBOL?

741


Mention the guidelines to write a structured cobol program?

627


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5387


What are the different data types in cobol?

801


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

650


what is the use of outrecord?

1778


what is amode(24), amode(31), rmode(24) and rmode(any)?

707


How can you get the ksds file records into your cobol program?

650


What is the utilization of copybook in cobol?

667