Describe the difference between subscripting and indexing ?

Answer Posted / minhaj

subscript represent the occurence of array.
subscript defined with working storage section.
subscript value can be changed with add,subtract,multiplication.
Index represent first occurence in the array,Index define
along with table entries as part of occus class.
value of index can be changed by the set operator.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between cobol and cobol-ii?

933


How do u write test cases?

1814


What are 77 levels used for?

840


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

861


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

1205


What is comp-1 and comp-2?

929


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1971


What are the different open modes available in cobol?

930


example for sub strings ? and refernce modifications whit output pls

2064


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1871


how do you reference the printer file formats from cobol programs

880


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?

1071


What is the usage of comp fields in cobol?

867


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

852


i need a small 3d program using inline and outline.

1880