is it possible to declare index in cobol program?
if it is not why its tell me pls

Answer Posted / amjith pillai

No need to 'Declare' Index in working Storage section.since
Index is internally represented by 'Index Register' which
is Full-Word binary.

Yes, you can directly mention Index in Occurs clause and
can increment and re-positioning the index variable

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a binary search and a sequential search what are the pertinent cobol?

925


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

902


how do you reference the variable unblock file formats from cobol programs

1000


Why would you use find and get rather than to obtain?

898


i want a program using by if, evaluate , string, unstring, perform, occurs?

4345


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

2174


Describe the cobol database components?

886


Can we redefine the field of x(200) to less than 200?

1091


IF I mention stop run in CICS what happens?

2087


What are the pertinent COBOL

2237


What is the local-storage section?

886


How do define dynamic array in cobol.

857


Explain the configuration section of a cobol program with examples of syntax.

861


Define static linking and dynamic linking.

868


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2957