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 are the pertinent COBOL

2041


What is a SSRANGE and NOSSRANGE?

818


What type of SDLC u followed? Why?

1517


What are the different rules for performing sort operation?

757


What kind of error is trapped by on size error option?

739






What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

672


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

706


Name the divisions, which are available in a cobol program?

683


What is rmode(any) ?

681


HOw can I get the negative sign while deduct high value from low value

1786


What rules are to be followed while using the corresponding options?

634


How arrays can be defined in COBOL?

661


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

893


How do get the result of your program directly on your pc?

1878


What are all the divisions of a COBOL program?

661