What is the different between index and subscript?

Answer Posted / sharath-hyd

INDEX is Displacement position of array data name.
Subscript is No. of occurenceof array data name.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the cobol coding sheets?

673


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

1891


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

647


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

721


What is the LINKAGE SECTION used in COBOL?

900






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?

899


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

751


how do you reference the rrds file formats from cobol programs

807


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

688


Which division and paragraphs are mandatory for a COBOL program?

718


What guidelines should be followed to write a structured cobol prgm?

677


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1008


What is the utilization of copybook in cobol?

666


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

719


What is the usage of comp fields in cobol?

664