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
What are the pertinent COBOL
What is a SSRANGE and NOSSRANGE?
What type of SDLC u followed? Why?
What are the different rules for performing sort operation?
What kind of error is trapped by on size error option?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Name the divisions, which are available in a cobol program?
What is rmode(any) ?
HOw can I get the negative sign while deduct high value from low value
What rules are to be followed while using the corresponding options?
How arrays can be defined in COBOL?
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?
How do get the result of your program directly on your pc?
What are all the divisions of a COBOL program?